NodeEventTarget 类
- 继承自: <EventTarget>
NodeEventTarget
是 EventTarget
的 Node.js 特定扩展,它模拟了 EventEmitter
API 的子集。
- Extends: <EventTarget>
The NodeEventTarget
is a Node.js-specific extension to EventTarget
that emulates a subset of the EventEmitter
API.