Re:Code optimizations when using async/await
by beardedetim on Tuesday January 04, 2022 @05:19PM
(#29801433)
Yup. If you call catch, you've handled the promise. You would need to throw from within the callback in order for the promise itself to reject after that.
[ Parent
| on HN ]
There are no comments on this comment yet.