public Task Delay(TimeSpan timeSpan, CancellationToken cancellationToken)
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 provides documentation for the \u003ccode\u003eSystemScheduler\u003c/code\u003e class, a singleton implementation of the \u003ccode\u003eIScheduler\u003c/code\u003e interface within the \u003ccode\u003eGoogle.Api.Gax\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSystemScheduler\u003c/code\u003e uses \u003ccode\u003eDelay(TimeSpan, CancellationToken)\u003c/code\u003e to manage task delays.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eSystemScheduler\u003c/code\u003e documented here is 4.10.0, and older versions from 4.8.0 to 3.2.0 are available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstance\u003c/code\u003e property retrieves the singleton \u003ccode\u003eSystemScheduler\u003c/code\u003e instance for use.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDelay(TimeSpan, CancellationToken)\u003c/code\u003e method returns a task that completes after a specified delay, with an option for cancellation using \u003ccode\u003eCancellationToken\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]