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.
Attributes
- modifier
A function that has the old Reactor value as input and returns a new Reactor value.
- 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.
Attributes
- E
the event's type.
- body
the code to execute when the event is triggered.
- event
the event to wait for.
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.
Attributes
- body
the code to execute when the event is triggered.
- event
the event to wait for.
Sets the value of the Reactor.
Sets the value of the Reactor.
Attributes
- newValue
The new value of the Reactor.
- 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.
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.
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.
Attributes
- E
The type of the event value.
- body
The Stage to be executes by default.
- event
The event indicating the interrupt.