An implementation of IScheduler that doesn't actually delay. This is useful for tests
which aren't interested in precise timing, but just want to be able to use a scheduler.
For more fine-grained control, use FakeScheduler.
public Task Delay(TimeSpan delay, CancellationToken cancellationToken)
Returns a task that will complete "nearly immediately": there's no set delay, but the task
yields before completing, avoiding synchronous execution leading to subtle bugs. The cancellation
token passed in is observed, causing an exception if it's already canceled.
[[["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 latest version available is 4.10.0, with multiple previous versions accessible, including 4.8.0, 4.4.0, 4.3.1, 4.2.0, 4.0.0, and 3.2.0."],["`NoOpScheduler` is a class that implements `IScheduler` but does not introduce any actual delay, making it useful for tests that require a scheduler without precise timing concerns."],["`NoOpScheduler` inherits from `object` and implements the `IScheduler` interface, located within the `Google.Api.Gax.Testing` namespace."],["The `Delay` method within `NoOpScheduler` returns a task that completes nearly immediately, without any actual delay, while still observing the provided cancellation token."],["The purpose of `NoOpScheduler` is to provide an implementation of a scheduler within tests that aren't interested in precise timing, and for more specific timing control, the user should use `FakeScheduler`."]]],[]]