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

std/async/deferred.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@v0.56.0/async/deferred.ts";

Functions

Creates a Promise with the reject and resolve functions placed as methods on the promise object itself. It allows you to do: