3 ms·
Exactly, it's called AWAIT damn it. It's also behaves like synchronous I/O, which is the whole point of the notation. Which isn't to say all is rosy in async/
by norswap 6y ago
Exactly, it's called AWAIT damn it.
It's also behaves like synchronous I/O, which is the whole point of the notation.
Which isn't to say all is rosy in async/await world. Debugging them (in JS in particular) is particularly painful.
- throwaway43234 6y agoWhat do you find painful about it? Have you tried the new vscode javascript debugger? It makes things fairly easy - I'd say the main issue is loss of local variables in async stack frames (which makes sense, unless they're closed they're gone), but that's not typically too big of a concern IMO.
- eska 6y agoDebugging those got a lot better in the new Firefox dev tools.