Package-level declarations

Functions

Link copied to clipboard

Converts this deferred value to the instance of Promise.

Link copied to clipboard
suspend fun awaitCancellation(block: () -> Unit): Nothing

Extended version of awaitCancellation

Link copied to clipboard
fun <T : JsAny?> CoroutineScope.promise(context: CoroutineContext = EmptyCoroutineContext, start: CoroutineStart = CoroutineStart.DEFAULT, block: suspend CoroutineScope.() -> T): Promise<T>
Link copied to clipboard
inline fun Continuation<*>.resumeWithError(error: JsError)