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."],[[["This webpage provides a comprehensive list of versions for the `ShutdownPollingPeriodOption` in the Google Cloud Pub/Sub C++ library, ranging from version 2.11.0 up to the latest release candidate, 2.37.0-rc."],["The `ShutdownPollingPeriodOption` controls the frequency at which a session polls to detect if the completion queue has shut down, affecting automatic session shutdowns."],["The webpage explains that users can shut down a session either by calling `.cancel()` on a returned `future\u003cStatus\u003e` or by firing and forgetting a session, which automatically shuts down when the servicing completion queue shuts down."],["`ShutdownPollingPeriodOption` is a type alias for `std::chrono::milliseconds`, determining the time unit for the polling period."]]],[]]