Searched refs:getCompleted (Results 1 – 13 of 13) sorted by relevance
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/ |
D | CompletableDeferredTest.kt | 23 assertEquals("OK", c.getCompleted()) in testComplete() 26 assertEquals("OK", c.getCompleted()) in testComplete() 36 assertTrue(c.getCompleted() is Incomplete) in testCompleteWithIncompleteResult() 44 assertThrows<IllegalStateException> { c.getCompleted() } in checkFresh() 60 assertThrows<CancellationException> { c.getCompleted() } in checkCancel() 78 assertThrows<TestException> { c.getCompleted() } in checkCancelWithException() 87 assertEquals("OK", c.getCompleted()) in testCompleteWithResultOK() 90 assertEquals("OK", c.getCompleted()) in testCompleteWithResultOK() 113 assertThrows<CancellationException> { c.getCompleted() } in testParentCancelsChild()
|
D | AsyncTest.kt | 248 assertTrue(deferred.getCompleted() is DisposableHandle) in <lambda>() 262 assertTrue(deferred.getCompleted() is DisposableHandle) in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/test/ |
D | TestCoroutineContextTest.kt | 123 deferred.getCompleted() in <lambda>() 130 assertEquals(expectedValue, deferred.getCompleted()) in <lambda>() 168 deferred.getCompleted() in <lambda>() 176 assertEquals(expectedValue, deferred.getCompleted()) in <lambda>() 199 assertEquals(expectedValue, result.getCompleted()) in <lambda>() 297 assertEquals(expectedValue, result.getCompleted()) in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/test/ |
D | TestBuildersTest.kt | 78 assertEquals(3, deferred.getCompleted()) in scopeRunBlocking_disablesImmedateOnExit() 100 assertEquals(3, deferred.getCompleted()) in whenInAsync_runBlocking_nestsProperly()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/ |
D | Deferred.kt | 71 public fun getCompleted(): T method
|
D | CompletableDeferred.kt | 85 override fun getCompleted(): T = getCompletedInternal() as T method
|
D | Await.kt | 122 continuation.resume(deferreds.map { it.getCompleted() }) in toString()
|
D | Builders.common.kt | 100 override fun getCompleted(): T = getCompletedInternal() as T in getCompleted() method
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/ |
D | Promise.kt | 42 resolve(getCompleted()) in <lambda>()
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/src/ |
D | Tasks.kt | 36 source.setResult(getCompleted()) in <lambda>()
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/src/future/ |
D | Future.kt | 77 future.complete(getCompleted()) in asCompletableFuture()
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/src/ |
D | ListenableFuture.kt | 406 return deferred.getCompleted() in getInternal()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/ |
D | kotlinx-coroutines-core.api | 245 public abstract fun getCompleted ()Ljava/lang/Object;
|