redux-logic icon indicating copy to clipboard operation
redux-logic copied to clipboard

Is it possible to add multiple actions to the failType?

Open egonm12 opened this issue 5 years ago • 0 comments

Is it possible to have more than one action in a success or fail type? I would like to trigger both actions when a fetch has failed.

processOptions: {
    dispatchReturn: true,
    dispatchMultiple: true,
    successType: successAction,
    failType: [ failAction, otherAction ]    <----------- Something like this?
  }

egonm12 avatar Apr 19 '19 15:04 egonm12