openSubscription

fun <T> MaybeSource<T>.openSubscription(): ReceiveChannel<T>

Deprecated: Deprecated in the favour of Flow

Subscribes to this MaybeSource and returns a channel to receive elements emitted by it. The resulting channel shall be cancelled to unsubscribe from this source.

This API is deprecated in the favour of Flow. MaybeSource doesn’t have a corresponding Flow adapter, so it should be transformed to Observable first.