An async function always returns a promise. await pauses only that function until the promise settles; the thread stays free for the event loop.
async/await
Syntax that lets you write code on top of promises as if it were sequential.
An async function always returns a promise. await pauses only that function until the promise settles; the thread stays free for the event loop.