AsyncOptions
Defined in: types.ts:29
Options accepted in the strategy slot of action/async, to declare
follow-up actions at the call site instead of returning them from the
handler.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
delay? | number | Wait in ms for the debounce strategy. | types.ts:37 |
onError? | Action[] | Dispatched after the handler rejects. The message is at _async[id].error. | types.ts:35 |
onSuccess? | Action[] | Dispatched after the handler resolves. The result is at _async[id].data. | types.ts:33 |
strategy? | AsyncConcurrencyStrategy | Default 'allow'. | types.ts:31 |