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

x/defer/src/defer.ts>Defer.resolve

Robust TypeScript API for deferred handling of Promises. Supports event listeners and custom state-specific callbacks.
Latest
method Defer.resolve
import { Defer } from "https://deno.land/x/defer@0.6.0/src/defer.ts";

Parameters

optional
value: T | PromiseLike<T>