Extensions for kotlinx.coroutines.experimental.channels.ReceiveChannel

asObservable

fun <T> ReceiveChannel<T>.asObservable(
    context: CoroutineContext
): Observable<T>

Converts a stream of elements received from the channel to the hot reactive observable.