Additional top-level classes in compilation unit: InitialStateImpl, ObservableStateBuilderImpl, StateStream, StatefulStreamBuilderImpl, StatefulStream, ObservableStateBuilderOnImpl, StatefulStreamBuilderOnImpl, InputHandler, InputHandlerBuilder, TransitionBuilder, EmissionBuilder, TransmissionBuilder.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| public static interface | |
| public static interface | |
| public static interface | |
| public static interface |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static <S> StateMachine. |
| StateMachine | back to summary |
|---|---|
| public StateMachine() | |
| init | back to summary |
|---|---|
| public static <S> StateMachine. | |
| Modifier and Type | Method and Description |
|---|---|
| public <I> StateMachine. |
| on | back to summary |
|---|---|
| public <I> StateMachine. | |
| Modifier and Type | Method and Description |
|---|---|
| public <I> StateMachine. | |
| public Binding | |
| public EventStream | toStateStream()
Returns an event stream that emits the current state of the state machine every time it changes. |
| on | back to summary |
|---|---|
| public <I> StateMachine. | |
| toObservableState | back to summary |
|---|---|
| public Binding Returns a binding that reflects the current state of the state
machine. Disposing the returned binding (by calling its
| |
| toStateStream | back to summary |
|---|---|
| public EventStream Returns an event stream that emits the current state of the state machine every time it changes. | |
| Modifier and Type | Method and Description |
|---|---|
| public <O> StateMachine. | |
| public StateMachine. | |
| public <O> StateMachine. |
| emit | back to summary |
|---|---|
| public <O> StateMachine. | |
| transition | back to summary |
|---|---|
| public StateMachine. | |
| transmit | back to summary |
|---|---|
| public <O> StateMachine. | |
| Modifier and Type | Method and Description |
|---|---|
| public <I> StateMachine. | |
| public EventStream | toEventStream()
Returns an event stream that emits a value when one of the state machine's input streams causes the state machine to emit a value. |
| on | back to summary |
|---|---|
| public <I> StateMachine. | |
| toEventStream | back to summary |
|---|---|
| public EventStream Returns an event stream that emits a value when one of the state machine's input streams causes the state machine to emit a value. The returned event stream is lazily bound, meaning the associated state machine is subscribed to its inputs only when the returned stream has at least one subscriber. No state transitions take place unless there is a subscriber to the returned stream. If you need to keep the state machine alive even when temporarily not subscribed to the returned stream, you can pin the returned stream. | |
| Modifier and Type | Method and Description |
|---|---|
| public StateMachine. | |
| public StateMachine. | |
| public StateMachine. |
| emit | back to summary |
|---|---|
| public StateMachine. | |
| transition | back to summary |
|---|---|
| public StateMachine. | |
| transmit | back to summary |
|---|---|
| public StateMachine. | |