Skip to content

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.

ParameterType
…argsany[]

Promise<any>