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

x/proc/legacy/deps.ts>Deferred

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
interface Deferred
implements Promise<T>
Re-export
import { type Deferred } from "https://deno.land/x/proc@0.20.24/legacy/deps.ts";

Properties

readonly
state: "pending" | "fulfilled" | "rejected"

Methods

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