Home
last modified time | relevance | path

Searched refs:completable (Results 1 – 8 of 8) sorted by relevance

/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/
DCompletableTest.kt18 val completable = rxCompletable(currentDispatcher()) { in <lambda>() constant
22 completable.subscribe { in <lambda>()
33 val completable = rxCompletable(currentDispatcher()) { in <lambda>() constant
38 completable.subscribe({ in <lambda>()
53 val completable = rxCompletable(currentDispatcher()) { in <lambda>() constant
60 val sub = completable.subscribe({ in <lambda>()
76 val completable = rxCompletable(currentDispatcher()) { in <lambda>() constant
80 completable.await() // shall launch coroutine in <lambda>()
87 val completable = rxCompletable(currentDispatcher()) { in <lambda>() constant
93 completable.await() // shall launch coroutine and throw exception in <lambda>()
[all …]
DConvertTest.kt21 val completable = job.asCompletable(coroutineContext.minusKey(Job)) in <lambda>() constant
22 completable.subscribe { in <lambda>()
37 val completable = job.asCompletable(coroutineContext.minusKey(Job)) in <lambda>() constant
38 completable.subscribe { in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/
DCompletableTest.kt18 val completable = rxCompletable(currentDispatcher()) { in <lambda>() constant
22 completable.subscribe { in <lambda>()
33 val completable = rxCompletable(currentDispatcher()) { in <lambda>() constant
38 completable.subscribe({ in <lambda>()
53 val completable = rxCompletable(currentDispatcher()) { in <lambda>() constant
60 val sub = completable.subscribe({ in <lambda>()
76 val completable = rxCompletable(currentDispatcher()) { in <lambda>() constant
80 completable.await() // shall launch coroutine in <lambda>()
87 val completable = rxCompletable(currentDispatcher()) { in <lambda>() constant
93 completable.await() // shall launch coroutine and throw exception in <lambda>()
[all …]
DConvertTest.kt21 val completable = job.asCompletable(coroutineContext.minusKey(Job)) in <lambda>() constant
22 completable.subscribe { in <lambda>()
37 val completable = job.asCompletable(coroutineContext.minusKey(Job)) in <lambda>() constant
38 completable.subscribe { in <lambda>()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/test/future/
DFutureTest.kt48 val completable = CompletableFuture<String>() in <lambda>() constant
49 completable.complete("O") in <lambda>()
50 val toAwait: CompletionStage<String> = completable in <lambda>()
70 val completable = CompletableFuture<String>() in <lambda>() constant
71 val toAwait: CompletionStage<String> = completable in <lambda>()
76 completable.complete("O") in <lambda>()
97 val completable = CompletableFuture<String>() in <lambda>() constant
98 val toAwait: CompletionStage<String> = completable in <lambda>()
99 completable.completeExceptionally(TestException("O")) in <lambda>()
134 val completable = CompletableFuture<String>() in <lambda>() constant
[all …]
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/
DREADME.md9 | [rxCompletable] | `Completable` | [CoroutineScope] | Cold completable t…
27 …o.reactivex.rxjava3.core.CompletableSource.await] | Awaits for completion of the completable value
46 | [Job.asCompletable][kotlinx.coroutines.Job.asCompletable] | Converts job to hot completable
60 …tlin.github.io/kotlinx.coroutines/kotlinx-coroutines-rx3/kotlinx.coroutines.rx3/rx-completable.html
68 …tlinx-coroutines-rx3/kotlinx.coroutines.rx3/io.reactivex.rxjava3.core.-completable-source/await.ht…
77 …oroutines/kotlinx-coroutines-rx3/kotlinx.coroutines.rx3/kotlinx.coroutines.-job/as-completable.html
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/
DREADME.md9 | [rxCompletable] | `Completable` | [CoroutineScope] | Cold completable t…
27 …urce.await][io.reactivex.CompletableSource.await] | Awaits for completion of the completable value
48 | [Job.asCompletable][kotlinx.coroutines.Job.asCompletable] | Converts job to hot completable
64 …tlin.github.io/kotlinx.coroutines/kotlinx-coroutines-rx2/kotlinx.coroutines.rx2/rx-completable.html
72 …coroutines/kotlinx-coroutines-rx2/kotlinx.coroutines.rx2/io.reactivex.-completable-source/await.ht…
83 …oroutines/kotlinx-coroutines-rx2/kotlinx.coroutines.rx2/kotlinx.coroutines.-job/as-completable.html
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/
DREADME.md63 …x-coroutines-jdk8/kotlinx.coroutines.future/kotlinx.coroutines.-deferred/as-completable-future.html