Skip to content

Commit

Permalink
Add a listenToAll function the NullConnector. (#368)
Browse files Browse the repository at this point in the history
Fixes #366

Co-authored-by: Marcus <[email protected]>
  • Loading branch information
luniki and Marcus authored Jan 17, 2023
1 parent 9d156f7 commit 215186e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/channel/null-channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ export class NullChannel extends Channel {
return this;
}

/**
* Listen for all events on the channel instance.
*/
listenToAll(callback: Function): NullChannel {
return this;
}

/**
* Stop listening for an event on the channel instance.
*/
Expand Down

0 comments on commit 215186e

Please sign in to comment.