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\u003eThis documentation covers version 4.0.0 of the \u003ccode\u003ePolling\u003c/code\u003e class, which provides helper methods for polling scenarios within the \u003ccode\u003eGoogle.Api.Gax\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolling\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Api.Gax.dll\u003c/code\u003e assembly, inherits from the \u003ccode\u003eObject\u003c/code\u003e class and offers methods for managing repeated polling actions.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two core methods: \u003ccode\u003ePollRepeatedly\u003c/code\u003e for synchronous polling, and \u003ccode\u003ePollRepeatedlyAsync\u003c/code\u003e for asynchronous polling, both allowing customization of polling behavior via various parameters.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003ePollRepeatedly\u003c/code\u003e methods require parameters such as a polling action, a completion predicate, a clock, a scheduler, poll settings, and a cancellation token to handle the polling process.\u003c/p\u003e\n"],["\u003cp\u003eThese methods repeatedly execute a polling action until a specified condition is met or a timeout occurs, returning a response of type \u003ccode\u003eTResponse\u003c/code\u003e, and throwing a \u003ccode\u003eTimeoutException\u003c/code\u003e if the timeout is exceeded.\u003c/p\u003e\n"]]],[],null,[]]