* @param {symbol|string} event * @param {any[]} args * @returns {boolean}
(event, ...args)
| 163 | * @returns {boolean} |
| 164 | */ |
| 165 | emit(event, ...args) { |
| 166 | const asyncResource = this.#asyncResource; |
| 167 | ArrayPrototypeUnshift(args, super.emit, this, event); |
| 168 | return ReflectApply(asyncResource.runInAsyncScope, asyncResource, |
| 169 | args); |
| 170 | } |
| 171 | |
| 172 | /** |
| 173 | * @returns {void} |
no outgoing calls
no test coverage detected