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

x/windmill/windmill-api/index.ts>CancelablePromise#then

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
method CancelablePromise.prototype.then
import { CancelablePromise } from "https://deno.land/x/windmill@v1.416.0/windmill-api/index.ts";

Type Parameters

optional
TResult1 = T
optional
TResult2 = never

Parameters

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