listSubscriptions abstract method
List subscriptions.
If query
is passed this will list all subscriptions matching the query.
Otherwise this will list all subscriptions.
The only supported query string is the name of a topic. If a name of a
topic is passed as query
, this will list all subscriptions on that
topic.
Returns a Stream
of subscriptions.
Implementation
Stream<Subscription> listSubscriptions([String query]);