NodeEventTarget 类


NodeEventTargetEventTarget 的 Node.js 特定扩展,它模拟了 EventEmitter API 的子集。

The NodeEventTarget is a Node.js-specific extension to EventTarget that emulates a subset of the EventEmitter API.