Skip to main content
HookCallbacks.promiseResolve - async_hooks - Node documentation
method HookCallbacks.promiseResolve

Usage in Deno

import { type HookCallbacks } from "node:async_hooks";
HookCallbacks.promiseResolve(asyncId: number): void

Called when a promise has resolve() called. This may not be in the same execution id as the promise itself.

Parameters

asyncId: number

the unique id for the promise that was resolve()d.

Return Type

void