Class TaskExtensions
Extensions to Task for Unity.
Inheritance
System.Object
TaskExtensions
Namespace: FM.LiveSwitch.Unity
Assembly: FM.LiveSwitch.Unity.dll
Syntax
public static class TaskExtensions : object
Methods
AsIEnumerator(Task)
Runs the task as an IEnumerator.
Declaration
public static IEnumerator AsIEnumerator(this Task task)
Parameters
Type | Name | Description |
---|---|---|
Task | task | The task. |
Returns
Type | Description |
---|---|
IEnumerator | The IEnumerator. |