on State Or Substate
inline fun <I : State> onStateOrSubstate(handler: BehaviourWithFSMStateHandler<I>)
Content copied to clipboard
Add NON STRICT handler to list of available in future BehaviourContextWithFSM. Non strict means that for input State will be used KClass.isInstance and any inheritor of kClass will pass this requirement