asPromise

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