Skip to main content
Init - v8 - Node documentation
interface Init

Usage in Deno

import { type Init } from "node:v8";

Called when a promise is constructed. This does not mean that corresponding before/after events will occur, only that the possibility exists. This will happen if a promise is created without ever getting a continuation.

Call Signatures

(
promise: Promise<unknown>,
parent: Promise<unknown>,
): void
Back to top