toPromise

open fun <T> Handler<AsyncResult<T>>.toPromise(): Promise<T>(source)