Skip to main content
Module

x/extendable_promise/index.ts>ExtendablePromise#then

A promise that can be delayed (extended) via repeated calls to waitUntil.
Latest
method ExtendablePromise.prototype.then
import { ExtendablePromise } from "https://deno.land/x/extendable_promise@v0.2.0-pre.11/index.ts";

Type Parameters

optional
TResult1 = PromiseSettledResult<T>[]
optional
TResult2 = never

Parameters

optional
onfulfilled: ((value: PromiseSettledResult<T>[]) => TResult1 | PromiseLike<TResult1>) | null
optional
onrejected: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null