initChangeStateWithRepo

val initChangeStateWithRepo: suspend (State, ColdStateFlowRepo<State>) -> suspend () -> State

Parameters

initChangeStateWithRepo

method called when the repo transitions from no subscriptions to being subscribed to. Contains the last known State and provides a reference to this ColdStateFlowRepo, and should result in a state transition.