DefaultEntryExitAction

typealias DefaultEntryExitAction<C, S, A> = C.(S, S, A?) -> Unit

This represents a default action that will be invoked when entering or exiting a state with an external state transitions.

Parameters

C

The context: C will be available to the lambda

S

currentState: S and targetState: S will be available to the lambda as 1st and 2nd arguments.

A

argumentType: A will be available to the lambda as the 3rd argument.