pubsubNumSub abstract method

Future<Map<String, int>> pubsubNumSub(
  1. List<String> channels
)

Returns the number of subscribers for the specified channels.

Returns a Map where keys are the channel names and values are the number of subscribers.

Implementation

Future<Map<String, int>> pubsubNumSub(List<String> channels);