Skip to main content
Module

x/shed/index.ts>ExtendablePromise#then

All Worker Tools under a single roof
Latest
method ExtendablePromise.prototype.then
import { ExtendablePromise } from "https://deno.land/x/shed@v0.1.0-pre.10/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