Returns a task which will complete after the given delay. Whether the returned
awaitable is configured to capture the current context or not is implementation-specific.
(A test implementation may capture the current context to enable reliable testing.)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eIScheduler\u003c/code\u003e interface within the \u003ccode\u003eGoogle.Api.Gax\u003c/code\u003e namespace, designed for abstracting scheduler operations, particularly for testing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIScheduler\u003c/code\u003e interface, found in the \u003ccode\u003eGoogle.Api.Gax.dll\u003c/code\u003e assembly, provides a means of managing delays, differing from \u003ccode\u003eTaskScheduler\u003c/code\u003e which is focused on thread assignment.\u003c/p\u003e\n"],["\u003cp\u003eThe primary method provided by \u003ccode\u003eIScheduler\u003c/code\u003e is \u003ccode\u003eDelay\u003c/code\u003e, which allows the specification of a delay and a cancellation token, returning a task that completes after the designated delay period.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the scheduler described is 4.10.0, with previous versions such as 4.8.0, 4.4.0, 4.3.1, 4.2.0, 4.0.0, and 3.2.0 also being listed.\u003c/p\u003e\n"],["\u003cp\u003eThe page also references the extension method \u003ccode\u003eSchedulerExtensions.Sleep\u003c/code\u003e, which can be found in the \u003ccode\u003eGoogle.Api.Gax.SchedulerExtensions\u003c/code\u003e class and accepts an \u003ccode\u003eIScheduler\u003c/code\u003e, a \u003ccode\u003eTimeSpan\u003c/code\u003e, and a \u003ccode\u003eCancellationToken\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]