Skip to content
Browse files
docs: document potentially unexpected blocking behavior of publish() …
…method (#214)

* docs: Document potentially unexpected blocking behavior of publish() method.

* Update google/cloud/pubsub_v1/publisher/

Co-authored-by: Tres Seaver <>
Co-authored-by: Prad Nelluru <>
  • Loading branch information
3 people committed Nov 10, 2020
1 parent 09a409c commit b6d9bd7c38d4fe597c25b7b5869fd4a1259c7687
Showing with 2 additions and 0 deletions.
  1. +2 −0 google/cloud/pubsub_v1/publisher/
@@ -291,6 +291,8 @@ def publish(
Add the given message to this object; this will cause it to be
published once the batch either has enough messages or a sufficient
period of time has elapsed.
This method may block if LimitExceededBehavior.BLOCK is used in the
flow control settings.
>>> from import pubsub_v1

0 comments on commit b6d9bd7

Please sign in to comment.