Stage
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Executes the body in a loop.
Modifies the value of the Reactor.
Modifies the value of the Reactor.
Value parameters
- modifier
-
A function that has the old Reactor value as input and returns a new Reactor value.
Attributes
- Returns
-
A StageBuilder describing the Reactor behaviour.
Waits until the event is triggered.
Waits until the event is triggered.
When the event is triggered the given body is executed in the same transaction.
Type parameters
- E
-
the event's type.
Value parameters
- body
-
the code to execute when the event is triggered.
- event
-
the event to wait for.
Attributes
Waits until the event is triggered.
Waits until the event is triggered.
When the event is triggered the given body is executed in the same transaction.
Value parameters
- body
-
the code to execute when the event is triggered.
- event
-
the event to wait for.
Attributes
Reads the current reactor value.
Sets the value of the Reactor.
Sets the value of the Reactor.
Value parameters
- newValue
-
The new value of the Reactor.
Attributes
- Returns
-
A StageBuilder describing the Reactor behaviour.
Executes it's body until an event is fired.
Executes it's body until an event is fired.
Until executes the body until the given event is fired. When the event is fired, until executes the interruptHandler.
Type parameters
- E
-
The type of the event value.
Value parameters
- body
-
The Stage to be executes by default.
- event
-
The event indicating the interrupt.
- interruptHandler
-
A function taking the interrupt event's value and returning a Stage. It is executed when the interrupt is fired.
Attributes
Executes it's body until an event is fired.
Executes it's body until an event is fired.
Until executes the body until the given event is fired. When the event is fired, until executes the interruptHandler.
Value parameters
- body
-
The Stage to be executes by default.
- event
-
The event indicating the interrupt.
- interruptHandler
-
A function taking the interrupt event's value and returning a Stage. It is executed when the interrupt is fired.
Attributes
Executes it's body until an event is fired.
Executes it's body until an event is fired.
Until executes the body until the given event is fired.
Type parameters
- E
-
The type of the event value.
Value parameters
- body
-
The Stage to be executes by default.
- event
-
The event indicating the interrupt.