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"]],[["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-08-04 UTC."],[[["This document provides information on the `SystemScheduler` class, a singleton implementation of `IScheduler` within the `Google.Api.Gax` namespace, version 4.3.1."],["The `SystemScheduler` class uses `Delay(TimeSpan, CancellationToken)` for scheduling tasks and inherits from the `object` class, also implementing the `IScheduler` interface."],["The `Instance` property of `SystemScheduler` provides access to its singleton instance."],["The `Delay(TimeSpan, CancellationToken)` method is available to create tasks that complete after a specified delay, with optional cancellation."],["`SchedulerExtensions.Sleep` is an extension method that is also related and can be found under the `SystemScheduler` documentation."]]],[]]