Skip to content

asyncAction

asyncAction(operationId, handler, strategy?, …args): Action

Defined in: actions/helpers.ts:62

['action/async', operationId, handler, strategy, ...args]: run the async handler named handler, tracking it under _async[operationId]. strategy decides what happens when the operation is already running.

ParameterTypeDefault value
operationIdstringundefined
handlerstringundefined
strategy?AsyncConcurrencyStrategy'allow'
…argsany[]undefined

Action