AsyncDslStateMapDefaultEventHandler

Constructors

Link copied to clipboard
constructor(fsm: AsyncStateMapBuilder<S, E, C, A, R>)

Functions

Link copied to clipboard
fun action(action: DefaultAsyncStateAction<C, S, E, A, R>)

Define a default action that will be applied when no other transitions are matched.

Link copied to clipboard

Defines an action to perform before a change in the currentState of the FSM

Link copied to clipboard

Defines a default internal transition for a specific event with no change in state.

Defines a default transition when an on is received to a specific state.

Link copied to clipboard

Defines an action to be performed after the currentState was changed.