asObservable

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

Deprecated: Deprecated in the favour of Flow

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

Every subscriber receives values from this channel in fan-out fashion. If the are multiple subscribers, they’ll receive values in round-robin way.