state Machine
Defines the start of a state machine DSL declaration
Author
Corneil du Plessis
Parameters
A set of the possible states supported by the top-level state map
The class of the possible events
The class of the context
The class of the argument to events/actions
The class of the return type of events/actions
Statemachine handler
Samples
io.jumpco.open.kfsm.TurnstileFSM.Companion.definitionDefines the start of a state machine DSL declaration with Any
as the return type
Parameters
A set of the possible states supported by the top-level state map
The class of the possible events
The class of the context
The class of the argument to events/actions
Samples
io.jumpco.open.kfsm.TurnstileFSM.definitionDefines the start of a state machine DSL declaration with Any
as the type of arguments and returns types for events/actions
Parameters
A set of the possible states supported by the top-level state map
The class of the possible events
The class of the context
The DSL handler