FlowToStateFlow
Deprecated
Use helpers such as 'mapAsStateFlow' rather than use this class directly. This is only public to allow for the inline function usage below.
A subclass of StateFlow that allows us to turn a Flow into a StateFlow.
Parameters
flow
The Flow that should be converted to a StateFlow
produceValue
The producer of the StateFlow's value
Functions
Link copied to clipboard