Skip to content

Commit

Permalink
Add missing function
Browse files Browse the repository at this point in the history
  • Loading branch information
NuSkooler committed Feb 6, 2024
1 parent 69710d4 commit 4133d16
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 4133d16

Please sign in to comment.