4 ms·
Are you sure? It seems incongruous with my mental model, which is that the first `await`, when executed, immediately pauses execution, so the second is only dis
by ajkjk 6y ago
Are you sure? It seems incongruous with my mental model, which is that the first `await`, when executed, immediately pauses execution, so the second is only dispatched when the first has resolved.
- recursive 6y agoYes. > the first `await`, when executed, immediately pauses execution Also true, but in my code, the first `await` happens after the second `fetch()` has already begun.
- DangitBobby 6y agoThe second await does not start until the first await resolves the first promise, but that doesn't mean network activity for the second initiated request isn't still happening in the background.