method AsyncResource.prototype.asyncId Usageimport { AsyncResource } from "node:async_hooks"; AsyncResource.prototype.asyncId(): number Return Type number The unique asyncId assigned to the resource.