asFlow
fun <T> MimiObservable<T>.asFlow(coroutineScope: CoroutineScope): Flow<T>
Content copied to clipboard
AsFlow - a convenience extension for MimiObservable.observe
Return
a Flow representation of the MimiObservable.state
Parameters
coroutineScope
The coroutineScope the MimiObservable.observe will be executed on. It will be executed as long as coroutineScope runs.