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