(event, ...args)
| 22424 | } |
| 22425 | |
| 22426 | emit(event, ...args) { |
| 22427 | if (this._events.has(event)) { |
| 22428 | for (const callback of this._events.get(event)) { |
| 22429 | callback(this, ...args); |
| 22430 | } |
| 22431 | } |
| 22432 | } |
| 22433 | |
| 22434 | register(name, value) { |
| 22435 | if (!this._registry.has(name)) { |
no test coverage detected