pageSubscriptions abstract method

Future<Page<Subscription>> pageSubscriptions({
  1. String topic,
  2. int pageSize = 50,
})

Start paging through subscriptions.

If topic is passed this will list all subscriptions to that topic.

Otherwise this will list all subscriptions.

The maximum number of subscriptions in each page is specified in pageSize

Returns a Future which completes with a Page object holding the first page. Use the Page object to move to the next page of subscriptions.

Implementation

Future<Page<Subscription>> pageSubscriptions(
    {String topic, int pageSize = 50});