Google Cloud Pub/Sub C++ Client  1.42.0
A C++ Client Library for Google Cloud Pub/Sub
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.

Definition at line 300 of file options.h.

Member Typedef Documentation

◆ Type

Definition at line 301 of file options.h.