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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["The content provides documentation for the `ShutdownPollingPeriodOption` within the Google Cloud Pub/Sub C++ client library, showcasing a range of versions from 2.11.0 to the latest release candidate 2.37.0-rc."],["`ShutdownPollingPeriodOption` controls the frequency at which sessions check for automatic shutdowns, which occurs when the session is cancelled with the `.cancel()` method."],["The `ShutdownPollingPeriodOption` is also relevant when an application fires and forgets a session, as the session will poll periodically until the completion queue servicing the session shuts down."],["The `ShutdownPollingPeriodOption` is an alias of `std::chrono::milliseconds`, indicating it is a value that defines a time period."]]],[]]