asPromise

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

Platform and version requirements: JS

Converts this deferred value to the instance of Promise.