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

x/defer/src/defer.ts>Defer#[Symbol.for("nodejs.util.inspect.custom")]

Robust TypeScript API for deferred handling of Promises. Supports event listeners and custom state-specific callbacks.
Latest
method Defer.prototype.[Symbol.for("nodejs.util.inspect.custom")]
import { Defer } from "https://deno.land/x/defer@0.6.0/src/defer.ts";

Parameters

depth: number
options: any
inspect: (value: unknown, ...args: unknown[]) => string

Returns

string