public static void Sleep(this IScheduler scheduler, TimeSpan delay, CancellationToken cancellationToken)
Simulates a synchronous delay by calling Delay(TimeSpan, CancellationToken) on
scheduler, and unwrapping any exceptions generated (typically cancellation).
[[["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 `SchedulerExtensions` class, which provides extension methods for the `IScheduler` interface in the `Google.Api.Gax` namespace."],["The latest version documented is 4.10.0, and the page also provides links to documentation for prior versions, including 4.8.0, 4.4.0, 4.3.1, 4.2.0, 4.0.0 and 3.2.0."],["The `Sleep` method is included as a key extension, allowing for synchronous delays, handling potential exceptions like cancellation, using a specified `IScheduler`."],["The `SchedulerExtensions` class inherits directly from `Object` and therefore inherits several core methods from the base class such as `ToString()`, `Equals()`, `GetHashCode()`, `GetType()` and `MemberwiseClone()`."],["The documentation provides the definition, parameters, and exceptions for the `Sleep` method, offering clear guidance on its usage."]]],[]]