Home
vector / com.haroldadmin.vector.state
Package com.haroldadmin.vector.state¶
Types¶
Name | Summary |
---|---|
StateHolder | interface StateHolder<S : VectorState > Holds the current state value and provides access to it. A ConflatedBroadcastChannel is used to hold the current state value. clear should be called when this state holder is no longer in use. |
StateProcessor | interface StateProcessor<S : VectorState > : CoroutineScope An entity that manages any Action on state. |
StateStore | abstract class StateStore<S : VectorState > : StateHolder < S >, StateProcessor < S > A class which can hold current state as well as handle actions to be performed on it. |