YieldableTask.cs
Go to the documentation of this file.
124 public YieldableTask (IEnumerator coroutine, CancellationToken cancellationToken, TaskCreationOptions creationOptions) :
200 public YieldableTask (FiberInstruction instruction, CancellationToken cancellationToken, TaskCreationOptions creationOptions) :
276 public YieldableTask (Func<FiberInstruction> coroutine, CancellationToken cancellationToken, TaskCreationOptions creationOptions) :
317 public YieldableTask (Func<object, FiberInstruction> coroutine, object state, TaskCreationOptions creationOptions) :
339 public YieldableTask (Func<object, FiberInstruction> coroutine, object state, CancellationToken cancellationToken) :
364 public YieldableTask (Func<object, FiberInstruction> coroutine, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions) :
374 throw new InvalidOperationException("A YieldableTask can only be queued to a FiberTaskScheduler.");
YieldableTask(Func< FiberInstruction > coroutine, TaskCreationOptions creationOptions)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:235
Yieldable task for execution on a fiber.
Definition: YieldableTask.cs:41
static TaskScheduler Current
Definition: TaskScheduler.cs:86
YieldableTask(Func< FiberInstruction > coroutine, CancellationToken cancellationToken)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:254
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
YieldableTask(Func< FiberInstruction > coroutine)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:216
YieldableTask(Func< object, FiberInstruction > coroutine, object state)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:295
YieldableTask(Func< object, FiberInstruction > coroutine, object state, TaskCreationOptions creationOptions)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:317
YieldableTask(Func< object, FiberInstruction > coroutine, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:364
YieldableTask(FiberInstruction instruction, TaskCreationOptions creationOptions)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:159
YieldableTask(IEnumerator coroutine, CancellationToken cancellationToken, TaskCreationOptions creationOptions)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:124
YieldableTask(Func< object, FiberInstruction > coroutine, object state, CancellationToken cancellationToken)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:339
YieldableTask(IEnumerator coroutine)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:64
YieldableTask(FiberInstruction instruction, CancellationToken cancellationToken)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:178
Definition: IStructuralComparable.cs:33
YieldableTask(IEnumerator coroutine, CancellationToken cancellationToken)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:102
YieldableTask(IEnumerator coroutine, TaskCreationOptions creationOptions)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:83
YieldableTask(Func< FiberInstruction > coroutine, CancellationToken cancellationToken, TaskCreationOptions creationOptions)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:276
Definition: AotInterlocked.cs:3
YieldableTask(FiberInstruction instruction, CancellationToken cancellationToken, TaskCreationOptions creationOptions)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:200
YieldableTask(FiberInstruction instruction)
Initializes a new instance of the SpicyPixel.Threading.Tasks.YieldableTask class. ...
Definition: YieldableTask.cs:140
Definition: Task.cs:43
TaskScheduler that can execute fibers (yieldable coroutines).
Definition: FiberTaskScheduler.cs:40