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-03-05 UTC."],[[["This webpage details the `IScheduler` interface within the `Google.Api.Gax` namespace, designed for abstracting scheduler operations, particularly for testing."],["The `IScheduler` interface, found in the `Google.Api.Gax.dll` assembly, provides a means of managing delays, differing from `TaskScheduler` which is focused on thread assignment."],["The primary method provided by `IScheduler` is `Delay`, which allows the specification of a delay and a cancellation token, returning a task that completes after the designated delay period."],["The 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."],["The page also references the extension method `SchedulerExtensions.Sleep`, which can be found in the `Google.Api.Gax.SchedulerExtensions` class and accepts an `IScheduler`, a `TimeSpan`, and a `CancellationToken`."]]],[]]