Class FiniteStateMachine
-
- All Implemented Interfaces:
public final class FiniteStateMachine<S extends Object, E extends Object>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFiniteStateMachine.Companion
-
Method Summary
-
-
Method Detail
-
getStateFlow
final StateFlow<S> getStateFlow()
The current state as StateFlow.
-
sendEvent
final Unit sendEvent(E event)
Sends an event to the state machine. The entry point to change state.
-
-
-
-