Skip to main content
AsyncResourceOptions.triggerAsyncId - async_hooks - Node documentation
property AsyncResourceOptions.triggerAsyncId

Usage in Deno

import { type AsyncResourceOptions } from "node:async_hooks";

The ID of the execution context that created this async event.

Type

number | undefined