SpicyPixel.Threading.Tasks.UnityTaskExtensions Class Reference
Extends MonoBehaviour to support FiberTaskScheduler. More...
Collaboration diagram for SpicyPixel.Threading.Tasks.UnityTaskExtensions:
Static Public Member Functions | |
static TaskFactory | CreateTaskFactory (this MonoBehaviour behaviour) |
Creates a task factory using a FiberTaskScheduler initialized with the MonoBehaviour. More... | |
static FiberFactory | CreateFiberFactory (this MonoBehaviour behaviour) |
Creates a fiber factory using a FiberScheduler initialized with the MonoBehaviour. More... | |
static FiberTaskScheduler | CreateTaskScheduler (this MonoBehaviour behaviour) |
Creates the task scheduler. More... | |
static FiberScheduler | CreateFiberScheduler (this MonoBehaviour behaviour) |
Creates the fiber scheduler. More... | |
Detailed Description
Extends MonoBehaviour to support FiberTaskScheduler.
Definition at line 39 of file UnityTaskExtensions.cs.
Member Function Documentation
|
static |
Creates a fiber factory using a FiberScheduler initialized with the MonoBehaviour.
- Returns
- The fiber factory.
- Parameters
-
behaviour Behaviour.
Definition at line 63 of file UnityTaskExtensions.cs.
|
static |
Creates the fiber scheduler.
- Returns
- The fiber scheduler.
- Parameters
-
behaviour Behaviour.
Definition at line 92 of file UnityTaskExtensions.cs.
|
static |
Creates a task factory using a FiberTaskScheduler initialized with the MonoBehaviour.
- Returns
- The task factory.
- Parameters
-
behaviour Behaviour.
Definition at line 51 of file UnityTaskExtensions.cs.
|
static |
Creates the task scheduler.
- Returns
- The task scheduler.
- Parameters
-
behaviour Behaviour.
Definition at line 78 of file UnityTaskExtensions.cs.
The documentation for this class was generated from the following file: