Module

std/async/mod.ts>Deferred

Deno standard library
Go to Latest
interface Deferred
implements Promise<T>
import { type Deferred } from "https://dotland.deno.dev/std@0.71.0/async/mod.ts";

Properties

resolve: (value?: T | PromiseLike<T>) => void
reject: (reason?: any) => void
import Deferred
import { Deferred } from "https://dotland.deno.dev/std@0.71.0/async/mod.ts";