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.
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
operationId | string | undefined |
handler | string | undefined |
strategy? | AsyncConcurrencyStrategy | 'allow' |
…args | any[] | undefined |