Fiber.WhenAll.cs
Go to the documentation of this file.
81 public static Fiber WhenAll (Fiber[] fibers, int millisecondsTimeout, CancellationToken cancellationToken)
98 public static Fiber WhenAll (Fiber[] fibers, int millisecondsTimeout, CancellationToken cancellationToken, FiberScheduler scheduler)
108 return Fiber.Factory.StartNew(WhenAllCoroutine(fibers, millisecondsTimeout, cancellationToken), scheduler);
123 public static Fiber WhenAll (IEnumerable<Fiber> fibers, int millisecondsTimeout, CancellationToken cancellationToken, FiberScheduler scheduler)
128 static IEnumerator WhenAllCoroutine(IEnumerable<Fiber> fibers, int millisecondsTimeout, CancellationToken cancellationToken)
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
An instruction to stop fiber execution and set a result on the fiber.
Definition: FiberResult.cs:8
Represents a fiber instruction to be processed by a FiberScheduler.
Definition: FiberInstruction.cs:43
static Fiber WhenAll(params Fiber[] fibers)
Returns a fiber that waits on all fibers to complete.
Definition: Fiber.WhenAll.cs:20
static Fiber WhenAll(Fiber[] fibers, int millisecondsTimeout, CancellationToken cancellationToken)
Returns a fiber that waits on all fibers to complete.
Definition: Fiber.WhenAll.cs:81
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 WhenAll(Fiber[] fibers, int millisecondsTimeout, CancellationToken cancellationToken, FiberScheduler scheduler)
Returns a fiber that waits on all fibers to complete.
Definition: Fiber.WhenAll.cs:98
static CancellationToken None
Definition: CancellationToken.cs:52
Definition: IStructuralComparable.cs:33
static Fiber WhenAll(Fiber[] fibers, int millisecondsTimeout)
Returns a fiber that waits on all fibers to complete.
Definition: Fiber.WhenAll.cs:65
static Fiber WhenAll(IEnumerable< Fiber > fibers, int millisecondsTimeout, CancellationToken cancellationToken, FiberScheduler scheduler)
Returns a fiber that waits on all fibers to complete.
Definition: Fiber.WhenAll.cs:123
Definition: AotInterlocked.cs:3
static Fiber WhenAll(Fiber[] fibers, CancellationToken cancellationToken)
Returns a fiber that waits on all fibers to complete.
Definition: Fiber.WhenAll.cs:35
static Fiber WhenAll(Fiber[] fibers, TimeSpan timeout)
Returns a fiber that waits on all fibers to complete.
Definition: Fiber.WhenAll.cs:50