The poll action, typically performing an RPC. The value passed to the
action is the overall deadline, so that the RPC settings can be adjusted accordingly. A null
value indicates no deadline.
The poll action, typically performing an RPC. The value passed to the
action is the overall deadline, so that the RPC settings can be adjusted accordingly. A null value
indicates no deadline.
[[["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-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePolling\u003c/code\u003e class in the \u003ccode\u003eGoogle.Api.Gax\u003c/code\u003e namespace provides helper methods for polling operations, specifically designed for scenarios involving repeated calls until a condition is met.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePollRepeatedlyAsync\u003c/code\u003e method asynchronously executes a polling action repeatedly until a specified completion predicate returns true, taking into account parameters for the poll action, completion test, clock, scheduler, settings, and cancellation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePollRepeatedly\u003c/code\u003e method performs synchronous repeated polling, also utilizing a completion predicate, clock, scheduler, poll settings, and cancellation token to manage the process.\u003c/p\u003e\n"],["\u003cp\u003eBoth polling methods accept a poll action that can adjust RPC settings based on an overall deadline, and both methods use a response predicate to indicate whether or not to continue polling.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePollRepeatedly\u003c/code\u003e method can throw a \u003ccode\u003eTimeoutException\u003c/code\u003e if the timeout specified in the \u003ccode\u003ePollSettings\u003c/code\u003e is reached before the completion condition is met.\u003c/p\u003e\n"]]],[],null,[]]