AsyncHandler
AsyncHandler = (…
args) =>Promise<any>
Defined in: types.ts:155
An async function the action/async family calls by name. It receives the
action’s extra arguments (placeholders resolved) followed by an
AsyncHandlerContext with signal and getState. Resolving with
{ successActions: Action[] } dispatches those actions after onSuccess.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args | any[] |
Returns
Section titled “Returns”Promise<any>