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

Deprecated: Deprecated in the favour of Flow

Subscribes to this ObservableSource 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. ObservableSource doesn’t have a corresponding Flow adapter, so it should be transformed to Observable first.