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."],[[["The `SystemScheduler` class is a singleton implementation of `IScheduler` that uses `Task.Delay` for scheduling delays."],["It provides a static `Instance` property to retrieve the single instance of `SystemScheduler`."],["The `Delay` method returns a task that completes after a specified `TimeSpan`, with an option to include a `CancellationToken`."],["This class inherits from `object` and implements `IScheduler`, providing core scheduling functionalities within the `Google.Api.Gax` namespace."],["The `SchedulerExtensions.Sleep` is an extension method that can be used with `SystemScheduler` to simplify pausing execution."]]],[]]