4 ms·
One of the biggest gains in moving to async/await is the fact you can have a single try/catch for both synchronous and asynchronous code. This makes async funct
by gitgud 7y ago
One of the biggest gains in moving to async/await is the fact you can have a single try/catch for both synchronous and asynchronous code. This makes async functions which implement some kind of transaction much easier to implement.