asObservable

fun <T> Flow<T>.asObservable(): Observable<T>

Launches coroutine and collects the Flow for every subscription. Please note that it uses runBlocking in Kotlin/Native. Please read the README for more information.