Skip to content

Commit

Permalink
Add missing function
Browse files Browse the repository at this point in the history
  • Loading branch information
NuSkooler committed Jan 14, 2024
1 parent 122b5e9 commit 5dd3bc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ module.exports = new (class Events extends events.EventEmitter {
return super.addListener(event, listener);
}

listenerCount(event, listener) {
return super.listenerCount(event, listener);
}

emit(event, ...args) {
Log.trace({ event: event }, 'Emitting event');
return super.emit(event, ...args);
Expand Down

0 comments on commit 5dd3bc5

Please sign in to comment.