Skip to main content
HookCallbacks.promiseResolve - node__async_hooks.d.ts - Node documentation
method HookCallbacks.promiseResolve

Usage in Deno

```typescript import { type HookCallbacks } from "node:node__async_hooks.d.ts"; ```
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