Delegate AsyncThunk<TPayload>
The thunk task runner.
Namespace: Unity.AppUI.Redux
Assembly: Unity.AppUI.Redux.dll
Syntax
public delegate Task<TPayload> AsyncThunk<TPayload>(IThunkAPI<TPayload> api)
Parameters
Type | Name | Description |
---|---|---|
IThunkAPI<TPayload> | api | The thunk API. |
Returns
Type | Description |
---|---|
Task<TPayload> | The task. |
Type Parameters
Name | Description |
---|---|
TPayload | The type of the action payload. |