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 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, offers a method called `Delay` which returns a task that completes after a specified time delay."],["The `Delay` method accepts a `TimeSpan` parameter dictating the delay duration, and a `CancellationToken` for managing task cancellation."],["It's noted that `IScheduler` differs from `TaskScheduler` as it is focused on managing delays instead of assigning tasks to threads."],["An extension method called `SchedulerExtensions.Sleep` is available for `IScheduler`, facilitating similar time-delay functionality."]]],[]]