Module subscriber.futures (2.19.6)

API documentation for pubsub_v1.subscriber.futures module.

Classes

Future

Future()

This future object is for subscribe-side calls.

Calling result will resolve the future by returning the message ID, unless an error occurs.

StreamingPullFuture

StreamingPullFuture(manager: StreamingPullManager)

Represents a process that asynchronously performs streaming pull and schedules messages to be processed.

This future is resolved when the process is stopped (via cancel) or if it encounters an unrecoverable error. Calling .result() will cause the calling thread to block indefinitely.