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-04-17 UTC."],[[["This webpage details the `IScheduler` interface, an abstraction for scheduler operations designed to enhance testability within the `Google.Api.Gax` namespace, found in the `Google.Api.Gax.dll` assembly."],["The `IScheduler` interface is distinct from `TaskScheduler`, as it focuses on introducing delays rather than thread assignment."],["The primary method within `IScheduler` is `Delay(TimeSpan, CancellationToken)`, which creates a task that completes after a specified delay, taking into account a provided cancellation token."],["The webpage also documents the `SchedulerExtensions.Sleep` method, an extension method related to the `IScheduler` interface, allowing for the scheduler to pause execution for a certain `TimeSpan` while checking for a `CancellationToken`."],["The webpage references multiple versions of the `Google.Api.Gax` library, with version 4.10.0 being the latest, and the current page detailing version 4.2.0."]]],[]]