Skip to content

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.

PropertyTypeDescriptionDefined in
delay?numberWait 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?AsyncConcurrencyStrategyDefault 'allow'.types.ts:31