asPromise

fun <T : JsAny?> Deferred<T>.asPromise(): Promise<T>(source)

Converts this deferred value to the instance of Promise.

Original