action

fun action(action: DefaultStateAction<C, S, E, A, R>)

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

Parameters

action

Will be invoked when no transitions match