3 ms·
Some of the "other code" may not depend on the dependency. I think the word dependency may have been confusing in my statement. Await doesn't actually block th
by jameslk 10y ago
Some of the "other code" may not depend on the dependency. I think the word dependency may have been confusing in my statement.
Await doesn't actually block the entire app (or JS thread) like synchronous code does. It schedules the code that follows after an await in the same file or in an async function to run later. You probably already understand this, but my point is that other code outside of this context is free to continue running.