SpicyPixel.Threading.FiberResult Class Reference

An instruction to stop fiber execution and set a result on the fiber. More...

+ Inheritance diagram for SpicyPixel.Threading.FiberResult:
+ Collaboration diagram for SpicyPixel.Threading.FiberResult:

Public Member Functions

 FiberResult (object result)
 Initializes a new instance of the SpicyPixel.Threading.FiberResult class. More...
 

Properties

object Result [get]
 Gets the result of the fiber execution. More...
 

Additional Inherited Members

- Static Public Attributes inherited from SpicyPixel.Threading.FiberInstruction
static YieldToAnyFiber YieldToAnyFiber = YieldToAnyFiber.Instance
 An instruction to cause the current fiber to yield to any ready fiber. More...
 
static StopInstruction Stop = StopInstruction.Instance
 An instruction to terminate execution of the current fiber. More...
 
- Protected Member Functions inherited from SpicyPixel.Threading.FiberInstruction
 FiberInstruction ()
 Initializes a new instance of the FiberInstruction class. More...
 

Detailed Description

An instruction to stop fiber execution and set a result on the fiber.

Definition at line 8 of file FiberResult.cs.

Constructor & Destructor Documentation

SpicyPixel.Threading.FiberResult.FiberResult ( object  result)

Initializes a new instance of the SpicyPixel.Threading.FiberResult class.

Parameters
resultResult of the fiber execution.

Definition at line 24 of file FiberResult.cs.

Property Documentation

object SpicyPixel.Threading.FiberResult.Result
get

Gets the result of the fiber execution.

The result of the fiber execution.

Definition at line 16 of file FiberResult.cs.


The documentation for this class was generated from the following file: