Home
last modified time | relevance | path

Searched refs:toAwait (Results 1 – 3 of 3) sorted by relevance

/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/test/future/
DFutureTest.kt38 val toAwait = CompletableFuture<String>() in <lambda>() constant
39 toAwait.complete("O") in <lambda>()
41 toAwait.await() + "K" in <lambda>()
50 val toAwait: CompletionStage<String> = completable in <lambda>() constant
52 toAwait.await() + "K" in <lambda>()
59 val toAwait = CompletableFuture<String>() in <lambda>() constant
61 toAwait.await() + "K" in <lambda>()
64 toAwait.complete("O") in <lambda>()
71 val toAwait: CompletionStage<String> = completable in <lambda>() constant
73 toAwait.await() + "K" in <lambda>()
[all …]
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/test/
DListenableFutureTest.kt61 val toAwait = SettableFuture.create<String>() in <lambda>() constant
62 toAwait.set("O") in <lambda>()
64 toAwait.await() + "K" in <lambda>()
71 val toAwait = SettableFuture.create<String>() in <lambda>() constant
73 toAwait.await() + "K" in <lambda>()
76 toAwait.set("O") in <lambda>()
82 val toAwait = SettableFuture.create<String>() in <lambda>() constant
83 toAwait.setException(IllegalArgumentException("O")) in <lambda>()
86 toAwait.await() in <lambda>()
97 val toAwait = SettableFuture.create<String>() in <lambda>() constant
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/test/
DPromiseTest.kt61 val toAwait = Promise<String> { resolve, _ -> r = resolve } in <lambda>() constant
63 toAwait.await() // suspends in <lambda>()