function deferredimport { deferred } from "https://dotland.deno.dev/std@0.181.0/async/mod.ts"; deferred<T>(): Deferred<T>Creates a Promise with the reject and resolve functions placed as methods on the promise object itself. ExamplesExample 1 import { deferred } from "https://deno.land/std@0.181.0/async/deferred.ts"; const p = deferred<number>(); // ... p.resolve(42); Type ParametersTReturnsDeferred<T>import deferredimport { deferred } from "https://dotland.deno.dev/std@0.181.0/async/mod.ts";