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

x/deno/std/util/async.ts>Deferred

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deferred
implements Promise<T>
import { type Deferred } from "https://deno.land/x/deno@v0.28.0/std/util/async.ts";

Properties

resolve: (value?: T | PromiseLike<T>) => void
reject: (reason?: any) => void