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 handling polling scenarios in .NET applications, within version 4.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePollRepeatedly\u003c/code\u003e method repeatedly calls a specified polling action until a given condition in the response is met, allowing for synchronous operation with parameters for the action, a completion predicate, clock, scheduler, settings, and cancellation token.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePollRepeatedlyAsync\u003c/code\u003e method provides an asynchronous version of \u003ccode\u003ePollRepeatedly\u003c/code\u003e, similarly repeatedly calling a polling action, but returning a task that represents the asynchronous operation.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003ePollRepeatedly\u003c/code\u003e and \u003ccode\u003ePollRepeatedlyAsync\u003c/code\u003e methods accept parameters to define the polling behavior, including a \u003ccode\u003epollAction\u003c/code\u003e to perform the request, \u003ccode\u003ecompletionPredicate\u003c/code\u003e to determine completion, \u003ccode\u003eIClock\u003c/code\u003e and \u003ccode\u003eIScheduler\u003c/code\u003e for timing and delays, \u003ccode\u003ePollSettings\u003c/code\u003e for timeouts, and a \u003ccode\u003eCancellationToken\u003c/code\u003e for cancellation.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003ePollRepeatedly\u003c/code\u003e and \u003ccode\u003ePollRepeatedlyAsync\u003c/code\u003e can throw a \u003ccode\u003eTimeoutException\u003c/code\u003e if the specified timeout in the poll settings expires.\u003c/p\u003e\n"]]],[],null,[]]