Closed brianrcoyle closed 8 years ago
Thanks for the contribution. In order to make it more generic, createActionAsync
has been modified so that the api function being called can accept any number of parameters. Do you mind to give a try ?
I tried 0.5.0, but that doesn't seem to fix my issue. I'm trying to be able to use dispatch inside my api function. The fix would just involve changing line 14 in createActionAsync to
return api(...args, dispatch)
… async functions