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 requiring repeated calls until a condition is met.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePollRepeatedly\u003c/code\u003e method repeatedly invokes a specified action until a certain condition is met, utilizing parameters like \u003ccode\u003epollAction\u003c/code\u003e, \u003ccode\u003ecompletionPredicate\u003c/code\u003e, \u003ccode\u003eIClock\u003c/code\u003e, \u003ccode\u003eIScheduler\u003c/code\u003e, \u003ccode\u003ePollSettings\u003c/code\u003e, and \u003ccode\u003eCancellationToken\u003c/code\u003e to manage the polling process.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePollRepeatedlyAsync\u003c/code\u003e offers an asynchronous alternative to \u003ccode\u003ePollRepeatedly\u003c/code\u003e, performing similar repeated calls with delays, but returning a \u003ccode\u003eTask\u003c/code\u003e that resolves with the completed response once the condition is met.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003ePollRepeatedly\u003c/code\u003e and \u003ccode\u003ePollRepeatedlyAsync\u003c/code\u003e take a \u003ccode\u003eFunc<DateTime?, TResponse>\u003c/code\u003e as a poll action, which is typically an RPC operation, and is provided a deadline to adjust settings, with a \u003ccode\u003enull\u003c/code\u003e value indicating no deadline.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolling\u003c/code\u003e class inherits methods such as \u003ccode\u003eToString()\u003c/code\u003e, \u003ccode\u003eEquals()\u003c/code\u003e, \u003ccode\u003eGetHashCode()\u003c/code\u003e, and \u003ccode\u003eGetType()\u003c/code\u003e from the base \u003ccode\u003eobject\u003c/code\u003e class, adding common functionality.\u003c/p\u003e\n"]]],[],null,[]]