reactive/kotlinx-coroutines-rx2/src/RxObservable.kt [29:36]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - public fun rxObservable( context: CoroutineContext = EmptyCoroutineContext, @BuilderInference block: suspend ProducerScope.() -> Unit ): Observable { require(context[Job] === null) { "Observable context cannot contain job in it." + "Its lifecycle should be managed via Disposable handle. Had $context" } return rxObservableInternal(GlobalScope, context, block) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - reactive/kotlinx-coroutines-rx3/src/RxObservable.kt [29:36]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - public fun rxObservable( context: CoroutineContext = EmptyCoroutineContext, @BuilderInference block: suspend ProducerScope.() -> Unit ): Observable { require(context[Job] === null) { "Observable context cannot contain job in it." + "Its lifecycle should be managed via Disposable handle. Had $context" } return rxObservableInternal(GlobalScope, context, block) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -