handle State
suspend fun BehaviourContextWithFSM<in O>.handleState(contextUpdatesFlow: Flow<Update>, state: O): O?
Content copied to clipboard
Handling of state :)
Parameters
context Updates Flow
This Flow will be used as source of updates. By contract, this Flow must be common for all States of incoming state and for the whole chain inside of BehaviourContextWithFSM