Could you provide an optional argument for start method in StateMachine interface (in the similar way as it in processEvent method)? Optional argument should be passed to initialState in state machine.
fun start(argument: Any? = null)
I can live without it, but it will would be nice to have such parameter to avoid workaround.
Could you provide an optional argument for start method in StateMachine interface (in the similar way as it in processEvent method)? Optional argument should be passed to initialState in state machine.
I can live without it, but it will would be nice to have such parameter to avoid workaround.