toUninitializedObservable

fun <T> Flow<T>.toUninitializedObservable(coroutineScope: CoroutineScope, context: CoroutineContext = coroutineScope.coroutineContext): FlowObservable<T>

Converts a Flow into a FlowObservable

Parameters

coroutineScope

The CoroutineScope on which to observe the Flow

context

The CoroutineContext in which to observe the Flow