StateRepo
Parameters
coroutineContext
the CoroutineContext used to create a coroutine scope for this state machine. Make sure that if you pass a coroutine context that has sequential execution if you do not want simultaneous state changes. The default Main dispatcher meets these criteria.
Type Parameters
State
the type of KalugaState represented by this repo.
F
the type of MutableSharedFlow the state will be collected in.