Located in compilation unit of org.
| Modifier and Type | Field and Description |
|---|---|
| private final LL | |
| private final S | |
| private final LL | |
| private final LL |
| Access | Constructor and Description |
|---|---|
| pack-priv | StatefulStreamBuilderImpl(S initialState, LL<TransitionBuilder<S>> transitions, LL<EmissionBuilder<S, O>> emissions, LL<TransmissionBuilder<S, O>> transmissions)
|
| Modifier and Type | Method and Description |
|---|---|
| public <I> StateMachine. | |
| public EventStream | toEventStream()
Implements org. 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. |
| emissions | back to summary |
|---|---|
| private final LL<EmissionBuilder<S, O>> emissions | |
| initialState | back to summary |
|---|---|
| private final S initialState | |
| transitions | back to summary |
|---|---|
| private final LL<TransitionBuilder<S>> transitions | |
| transmissions | back to summary |
|---|---|
| private final LL<TransmissionBuilder<S, O>> transmissions | |
| StatefulStreamBuilderImpl | back to summary |
|---|---|
| pack-priv StatefulStreamBuilderImpl(S initialState, LL<TransitionBuilder<S>> transitions, LL<EmissionBuilder<S, O>> emissions, LL<TransmissionBuilder<S, O>> transmissions) | |
| on | back to summary |
|---|---|
| public <I> StateMachine. Implements org.
| |
| toEventStream | back to summary |
|---|---|
| public EventStream Implements org. Doc from org. 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.
| |