Async Functions
- Recently, JavaScript added support for async functions
- async functions simplify promises even further
- Allow you to
await
a Promise and write more synchronous code - Remains non-blocking. Always returns a Promise
- Other code can run while async function is
await
ing
10 / 23