FiberResult.cs
Go to the documentation of this file.
1 using System;
2 
3 namespace SpicyPixel.Threading
4 {
8  public sealed class FiberResult : FiberInstruction
9  {
10  object result;
11 
16  public object Result {
17  get { return result; }
18  }
19 
24  public FiberResult(object result)
25  {
26  this.result = result;
27  }
28  }
29 }
30 
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.
FiberResult(object result)
Initializes a new instance of the SpicyPixel.Threading.FiberResult class.
Definition: FiberResult.cs:24