How to implement State Machine in clean architecture?
Let say that there is a list of states for State Machine:
seald class State {
data class A : State()
data class B : State()
data class C : State()
data class D : State()
}
So according to clean architecture the State is domain model. But were implement switching between these states? Where to put a StateMachineManager? or how to split it between use cases?