listenForWhisper method

Channel listenForWhisper(
  1. String event,
  2. Function callback
)

Listen for a whisper event on the channel instance.

Implementation

Channel listenForWhisper(String event, Function callback) =>
    listen('.client-$event', callback);