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"]],[["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."],[[["The `SystemScheduler` class is a singleton implementation of the `IScheduler` interface, utilizing `Task.Delay` for scheduling delays."],["The `Instance` property provides access to the single instance of `SystemScheduler`."],["The `Delay` method enables the creation of a task that completes after a specified delay, and it accepts a `TimeSpan` and a `CancellationToken`."],["This class inherits from the base `Object` class, implementing the `IScheduler` interface and offering methods for time-delayed task execution."],["There are multiple previous versions of this class accessible including the latest version, 4.10.0."]]],[]]