listen method

  1. @override
PusherChannel listen(
  1. String event,
  2. Function callback
)
override

Listen for an event on the channel instance.

Implementation

@override
PusherChannel listen(String event, Function callback) =>
    on(EventFormatter.format(event, options.nameSpace), callback);