Fiber.Delay.cs
Go to the documentation of this file.
53 public static Fiber Delay (int millisecondsDelay, CancellationToken cancellationToken, FiberScheduler scheduler)
71 if (millisecondsDelay != Timeout.Infinite && (DateTime.Now - startWait).TotalMilliseconds >= millisecondsDelay) {
Fiber StartNew(IEnumerator coroutine)
Start executing a new fiber using the default scheduler on the thread.
Definition: FiberFactory.StartNew.cs:19
Definition: AggregateException.cs:31
A Fiber is a lightweight means of scheduling work that enables multiple units of processing to execut...
Definition: Fiber.ContinueWith.cs:8
Represents a fiber instruction to be processed by a FiberScheduler.
Definition: FiberInstruction.cs:43
static Fiber Delay(int millisecondsDelay)
Crates a Fiber that waits for a delay before completing.
Definition: Fiber.Delay.cs:13
bool IsCancellationRequested
Definition: CancellationToken.cs:123
static YieldToAnyFiber YieldToAnyFiber
An instruction to cause the current fiber to yield to any ready fiber.
Definition: FiberInstruction.cs:48
static FiberScheduler Current
Gets the default fiber scheduler for the thread.
Definition: FiberScheduler.cs:75
static Fiber Delay(int millisecondsDelay, CancellationToken cancellationToken)
Crates a Fiber that waits for a delay before completing.
Definition: Fiber.Delay.cs:42
static Fiber Delay(TimeSpan delay)
Crates a Fiber that waits for a delay before completing.
Definition: Fiber.Delay.cs:22
static CancellationToken None
Definition: CancellationToken.cs:52
Definition: IStructuralComparable.cs:33
static Fiber Delay(int millisecondsDelay, CancellationToken cancellationToken, FiberScheduler scheduler)
Crates a Fiber that waits for a delay before completing.
Definition: Fiber.Delay.cs:53
static Fiber Delay(TimeSpan delay, CancellationToken cancellationToken)
Crates a Fiber that waits for a delay before completing.
Definition: Fiber.Delay.cs:32
Definition: AotInterlocked.cs:3