Commit 1dad07a
authored
pubsub: clarify subscriber shutdown doc (#2487)
In the doc, we just wait for done.get() to return before closing the
Subscriber.
This commit makes clear that done.get() in the doc is an example
condition.
Updates #2485.1 parent 540734e commit 1dad07a
2 files changed
Lines changed: 6 additions & 0 deletions
File tree
- google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets
- google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
85 | 87 | | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
225 | 227 | | |
| 228 | + | |
226 | 229 | | |
227 | 230 | | |
228 | 231 | | |
| |||
0 commit comments