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 FiberFactory SpicyPixel.Threading.Tasks.UnityTaskExtensions.CreateFiberFactory ( this MonoBehaviour  behaviour)
static

Creates a fiber factory using a FiberScheduler initialized with the MonoBehaviour.

Returns
The fiber factory.
Parameters
behaviourBehaviour.

Definition at line 63 of file UnityTaskExtensions.cs.

static FiberScheduler SpicyPixel.Threading.Tasks.UnityTaskExtensions.CreateFiberScheduler ( this MonoBehaviour  behaviour)
static

Creates the fiber scheduler.

Returns
The fiber scheduler.
Parameters
behaviourBehaviour.

Definition at line 92 of file UnityTaskExtensions.cs.

static TaskFactory SpicyPixel.Threading.Tasks.UnityTaskExtensions.CreateTaskFactory ( this MonoBehaviour  behaviour)
static

Creates a task factory using a FiberTaskScheduler initialized with the MonoBehaviour.

Returns
The task factory.
Parameters
behaviourBehaviour.

Definition at line 51 of file UnityTaskExtensions.cs.

static FiberTaskScheduler SpicyPixel.Threading.Tasks.UnityTaskExtensions.CreateTaskScheduler ( this MonoBehaviour  behaviour)
static

Creates the task scheduler.

Returns
The task scheduler.
Parameters
behaviourBehaviour.

Definition at line 78 of file UnityTaskExtensions.cs.


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