Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
|
How often the session polls for automatic shutdowns. More...
#include <google/cloud/pubsub/options.h>
Public Types | |
using | Type = std::chrono::milliseconds |
How often the session polls for automatic shutdowns.
Applications can shutdown a session by calling .cancel()
on the returned future<Status>
. In addition, applications can fire & forget a session, which is only shutdown once the completion queue servicing the session shuts down. In this latter case the session polls periodically to detect if the CQ has shutdown. This controls how often this polling happens.
using google::cloud::pubsub::ShutdownPollingPeriodOption::Type = std::chrono::milliseconds |