expo / redux-effex

Spin off async functions to perform side effects
109 stars 2 forks source link

Question: nextDispatchAsync Usage #4

Closed f0rr0 closed 3 years ago

f0rr0 commented 7 years ago

How can I pass a payload to nextDispatchAsync. To be specific, I want to do something like this:

  1. Dispatch action 1 with data = data. .....wait until it does it's thing
  2. Dispatch action 2 with data = otherData.

How does nextDispatchAsync figure into this?