Class AsyncAction<T>
An async operation can executes an Action which take a parameter of type AsyncOp />.
Inherited Members
Namespace: Unity.PSN.PS5.Aysnc
Syntax
public class AsyncAction<T> : AsyncOp where T : AsyncOp
Type Parameters
| Name | Description |
|---|---|
| T | Any type of AsyncOp |
Constructors
AsyncAction()
Create an empty async operation
Declaration
public AsyncAction()
AsyncAction(Action<T>)
Create an operation with the action to run
Declaration
public AsyncAction(Action<T> action)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<T> | action | The action to run |