SubscriberAwareStoreFlow
fun <State> SubscriberAwareStoreFlow( scope: CoroutineScope, initialValue: State, reducer: Reducer<State>, middlewares: List<Middleware<State>> = emptyList()): StoreFlow<State>
Content copied to clipboard
Creates a StoreFlow that dispatches SubscriberStatusChanged when subscribers start or stop collecting from it. The actions will fire when the first subscriber starts and the last subscriber stops collecting.