An async function is a function declared with
the async keyword. Async functions are instances of the
AsyncFunction constructor, and the
await keyword is permitted within them. The async and
await keywords enable asynchronous, promise-based behavior to be written
in a cleaner style, avoiding the need to explicitly configure promise chains.
Have used it
Know about it
Never heard of it
The Promise.allSettled() method returns a promise that
resolves after all of the given promises have either fulfilled or rejected, with an
array of objects that each describes the outcome of each promise.