-
Notifications
You must be signed in to change notification settings - Fork 42
Conversation
For deprecation message see: |
@@ -428,7 +429,10 @@ class _SubscriptionImpl implements Subscription { | |||
Future delete() => _api._deleteSubscription(_subscription.name!); | |||
|
|||
@override | |||
Future<PullEvent?> pull({bool wait = true}) { | |||
Future<PullEvent?> pull({ | |||
@Deprecated('returnImmediately has been deprecated from pubsub') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps leave a link to the documentation...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there isn't really any.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well you could have linked to: https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/pull
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
never mind...
* Fix missing retries in Page.next * Ignore deprecated usage * Propogate deprecation message
cc @isoos