Closed leonardodino closed 5 years ago
Fix Promise compatibility (allows use with async/await).
async/await
Currently, it's ignoring the second parameter, meaning it won't ever run catch blocks.
catch
closes #62
this needs a test case
Rebased and added a test. (:
(I'm using it in production via async/await)
Description
Fix Promise compatibility (allows use with
async/await
).Currently, it's ignoring the second parameter, meaning it won't ever run
catch
blocks.closes #62
Checklist