method AsyncResource.prototype.triggerAsyncId Usage in Denoimport { AsyncResource } from "node:async_hooks"; AsyncResource.prototype.triggerAsyncId(): number Return Type number The same triggerAsyncId that is passed to the AsyncResource constructor.