Skip to content

Commit 215186e

Browse files
lunikiMarcus
andauthored
Add a listenToAll function the NullConnector. (#368)
Fixes #366 Co-authored-by: Marcus <laravelecho@luniki.de>
1 parent 9d156f7 commit 215186e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/channel/null-channel.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ export class NullChannel extends Channel {
2525
return this;
2626
}
2727

28+
/**
29+
* Listen for all events on the channel instance.
30+
*/
31+
listenToAll(callback: Function): NullChannel {
32+
return this;
33+
}
34+
2835
/**
2936
* Stop listening for an event on the channel instance.
3037
*/

0 commit comments

Comments
 (0)