Promise
open class Promise<out T : JsAny?>(executor: (resolve: PromiseResolve<T>) -> Unit) : PromiseLike<T> (source)
Functions
Link copied to clipboard
Link copied to clipboard
override fun <R : JsAny?> flatThen(onFulfilled: (T) -> PromiseResult<R>, onRejected: (JsErrorLike?) -> PromiseResult<R>): Promise<R>
Link copied to clipboard