#### Environment details - OS: any - Node.js version: any - npm version: any - `@google-cloud/pubsub` version: current #### Steps to reproduce 1. Receive a message 2. Decide that the message cannot be processed yet 3. Don't want to block flow control by delaying before `nack`ing 4. Find yourself frustrated This is something I'd been looking for for my application, but also came across in https://github.com/googleapis/nodejs-pubsub/issues/119#issuecomment-380956113 The suggestion there of adding an optional delay parameter to the `nack` method looks like exactly the trick. Intending to file a PR for this unless I receive objections to the idea.
Environment details
@google-cloud/pubsubversion: currentSteps to reproduce
nackingThis is something I'd been looking for for my application, but also came across in #119 (comment)
The suggestion there of adding an optional delay parameter to the
nackmethod looks like exactly the trick.Intending to file a PR for this unless I receive objections to the idea.