Home
last modified time | relevance | path

Searched refs:disposableRef (Results 1 – 2 of 2) sorted by relevance

/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/src/
DRxConvert.kt80 val disposableRef = AtomicReference<Disposable>() in <lambda>() constant
83 … override fun onSubscribe(d: Disposable) { if (!disposableRef.compareAndSet(null, d)) d.dispose() } in <lambda>()
95 awaitClose { disposableRef.getAndSet(Disposable.disposed())?.dispose() } in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/src/
DRxConvert.kt80 val disposableRef = AtomicReference<Disposable>() in <lambda>() constant
83 … override fun onSubscribe(d: Disposable) { if (!disposableRef.compareAndSet(null, d)) d.dispose() } in <lambda>()
95 awaitClose { disposableRef.getAndSet(Disposables.disposed())?.dispose() } in <lambda>()