Delegate AsyncThunkActionCreator<TPayload, TThunkArg>.PayloadCreator
The payload creator signature for the thunk.
Namespace: Unity.AppUI.Redux
Assembly: Unity.AppUI.Redux.dll
Syntax
public delegate Task<TPayload> AsyncThunkActionCreator<TPayload, TThunkArg>.PayloadCreator(TThunkArg arg, ThunkAPI<TPayload, TThunkArg> thunkAPI, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
TThunkArg | arg | The argument to pass to the thunk. |
ThunkAPI<TPayload, TThunkArg> | thunkAPI | The thunk API. |
CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
Task<TPayload> | The payload. |