stopListening method

  1. @override
PusherChannel stopListening(
  1. String event, [
  2. Function? callback
])
override

Stop listening for an event on the channel instance.

Implementation

@override
PusherChannel stopListening(String event, [Function? callback]) {
  subscription.unbind(EventFormatter.format(event, options.nameSpace));
  return this;
}