Skip to main content
EventEmitter.EventEmitterAsyncResource.prototype.asyncResource - events - Node documentation
property EventEmitter.EventEmitterAsyncResource.prototype.asyncResource

Usage in Deno

import { EventEmitter } from "node:events";

The returned AsyncResource object has an additional eventEmitter property that provides a reference to this EventEmitterAsyncResource.

Type