Browse Source

nowait docs

pull/64/head
wagslane 4 years ago
parent
commit
34897f54aa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/consumer/main.go

+ 1
- 1
examples/consumer/main.go View File

@ -23,7 +23,7 @@ func main() {
} }
// wait for server to acknowledge the cancel // wait for server to acknowledge the cancel
noWait := false
const noWait = false
defer consumer.Disconnect() defer consumer.Disconnect()
defer consumer.StopConsuming(consumerName, noWait) defer consumer.StopConsuming(consumerName, noWait)


Loading…
Cancel
Save