Aug 26, 2017 · 1 min read
you can create a tuple-like wrapper for the promise and avoid try-catch blocks this way:
http://blog.grossman.io/how-to-write-async-await-without-try-catch-blocks-in-javascript/
you can create a tuple-like wrapper for the promise and avoid try-catch blocks this way:
http://blog.grossman.io/how-to-write-async-await-without-try-catch-blocks-in-javascript/