handle State
suspend fun BehaviourContextWithFSM.handleState(contextUpdatesFlow: Flow<Update>, state: State): State?
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