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

x/windmill/node_modules/evt/tools/Deferred.d.ts>Deferred

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
namespace Deferred
import { Deferred } from "https://deno.land/x/windmill@v1.353.0/node_modules/evt/tools/Deferred.d.ts";
class Deferred
import { Deferred } from "https://deno.land/x/windmill@v1.353.0/node_modules/evt/tools/Deferred.d.ts";

Constructors

new
Deferred()

Properties

readonly
isPending: boolean
readonly
pr: Promise<T>
readonly
reject: (error: any) => void
readonly
resolve: (value: T) => void

NOTE: Does not need to be called bound to instance