From the course: Learning Node.js
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Challenge: Convert into async/await - Node.js Tutorial
From the course: Learning Node.js
Challenge: Convert into async/await
“
(upbeat music) - [Narrator] In this challenge, I'd like you to take the pseudo code callback function I've created and convert it into the async await style. This function simply calls get messages, which then passes a callback that expects a list and then console logs that list. This should take no more than a few minutes to complete.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.