Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
Loading...
Searching...
No Matches
Public Types | List of all members
google::cloud::pubsub::ShutdownPollingPeriodOption Struct Reference

How often the session polls for automatic shutdowns. More...

#include <google/cloud/pubsub/options.h>

Public Types

using Type = std::chrono::milliseconds
 

Detailed Description

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.

Member Typedef Documentation

◆ Type