score:1

No, it's not possible because dispatching an action is something like triggering action and action just invoke either middleware or reducer that's it. The action doesn't wait to complete the reducer or middleware. It just invokes and finishes his job.

score:1

Ok, so in the end I make async await by pass dispatch as a parmeter to the function.


Related Query

More Query from same tag