Skip to main content
AsyncResource.prototype.asyncId - async_hooks - Node documentation
method AsyncResource.prototype.asyncId

Usage in Deno

import { AsyncResource } from "node:async_hooks";
AsyncResource.prototype.asyncId(): number

Return Type

number

The unique asyncId assigned to the resource.

Back to top