Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/wmill/gen/index.ts>CancelablePromise#then

Open-source developer platform to power your entire infra and turn scripts into webhooks, workflows and UIs. Fastest workflow engine (13x vs Airflow). Open-source alternative to Retool and Temporal.
Go to Latest
method CancelablePromise.prototype.then
Re-export
import { CancelablePromise } from "https://deno.land/x/wmill@v1.402.0/gen/index.ts";

Type Parameters

optional
TResult1 = T
optional
TResult2 = never

Parameters

optional
onFulfilled: ((value: T) => TResult1 | PromiseLike<TResult1>) | null
optional
onRejected: ((reason: unknown) => TResult2 | PromiseLike<TResult2>) | null