A promise that resolves when the subscription closes
Stop the subscription from receiving messages. You can optionally specify that the subscription should stop after the specified number of messages have been received. Note this count is since the lifetime of the subscription.
Optional
max: numberGenerated using TypeDoc
Basic interface to a Subscription type