SpicyPixel.Threading.UnityFiberInstruction Class Reference
Represents a fiber instruction to be processed by a FiberScheduler. More...
Collaboration diagram for SpicyPixel.Threading.UnityFiberInstruction:Static Public Member Functions | |
| static FiberInstruction | WaitForSeconds (float seconds) |
| Convenience coroutine to send a WaitForSeconds instruction to the scheduler. More... | |
Static Public Attributes | |
| static FiberInstruction | WaitForFixedUpdate = new ObjectInstruction(new UnityEngine.WaitForFixedUpdate()) |
| Convenience coroutine to send a WaitForFixedUpdate instruction to the scheduler. More... | |
| static FiberInstruction | WaitForEndOfFrame = new ObjectInstruction(new UnityEngine.WaitForEndOfFrame()) |
| Convenience coroutine to send a WaitForEndOfFrame instruction to the scheduler. More... | |
Detailed Description
Represents a fiber instruction to be processed by a FiberScheduler.
Specific instructions understood by a scheduler are to be derived from this abstract type.
Definition at line 43 of file UnityFiberInstruction.cs.
Member Function Documentation
|
static |
Convenience coroutine to send a WaitForSeconds instruction to the scheduler.
- Returns
- A WaitForSeconds instruction for a UnityFiberScheduler.
- Parameters
-
seconds The seconds to wait.
Definition at line 54 of file UnityFiberInstruction.cs.
Member Data Documentation
|
static |
Convenience coroutine to send a WaitForEndOfFrame instruction to the scheduler.
- Returns
- A WaitForEndOfFrame instruction for a UnityFiberScheduler.
Definition at line 73 of file UnityFiberInstruction.cs.
|
static |
Convenience coroutine to send a WaitForFixedUpdate instruction to the scheduler.
- Returns
- A WaitForFixedUpdate instruction for a UnityFiberScheduler.
Definition at line 65 of file UnityFiberInstruction.cs.
The documentation for this class was generated from the following file:
