state Flow
Return the current state as a Flow. For certain situations, this may be more convenient than subscribe and selectSubscribe because it can easily be composed with other coroutines operations and chained with operators.
This WILL emit the current state followed by all subsequent state updates.
This is not a StateFlow to prevent the ViewModel from having synchronous access to state. withState { state -> } should be used as it is guaranteed to be run after all pending setState reducers have run.