beginner45 minby DevFox

async / await

Write an async function that waits for a promise with await and uses its value on the next line. See that an async function always gives back a promise, that await pauses only the function it is written in while the rest of the file goes on, and why await needs async, then rewrite TaskKit’s remind so its wait reads from top to bottom.

  • Fundamentals
  • TypeScript
`async` / `await`. Read this lesson at .