Class AsyncToCoroutine
Inheritance
AsyncToCoroutine
Syntax
public class AsyncToCoroutine : object
Constructors
AsyncToCoroutine(Boolean)
Declaration
public AsyncToCoroutine(bool cleanup = true)
Parameters
| Type |
Name |
Description |
| Boolean |
cleanup |
|
Properties
After
Declaration
public Func<Task> After { get; set; }
Property Value
| Type |
Description |
| Func<Task> |
|
Before
Declaration
public Func<Task> Before { get; set; }
Property Value
| Type |
Description |
| Func<Task> |
|
Methods
Run(Action)
Declaration
public IEnumerator Run(Action action)
Parameters
| Type |
Name |
Description |
| Action |
action |
|
Returns
| Type |
Description |
| IEnumerator |
|
Run(Func<Task>)
Declaration
public IEnumerator Run(Func<Task> func)
Parameters
| Type |
Name |
Description |
| Func<Task> |
func |
|
Returns
| Type |
Description |
| IEnumerator |
|
Extension Methods