Package-level declarations

Functions

Link copied to clipboard
fun <T : JsAny?> Deferred<T>.asPromise(): Promise<T>

Converts this deferred value to the instance of Promise.

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