Save time by executing code over time. Doesn't take a long time!
Updated on Sep, 2023
Language - English
It's hard to imagine a website that never sends any messages to analytics, 3rd party APIs, or to databases where important information like user profile information and chat history are held.
Consider the following scenario:
You are the in-house developer at W&W Window Washers.
The owner’s eccentric son, Malachi Window, appears at your desk one afternoon in a flush.
“We’ve signed up with a new payment platform, one that will be less inclined to pry into our… affairs.” He says.
“Right,” you agree, with some hesitation.
“You need to update our website to go through that vendor. Send the client’s payment information to the vendor, and when the vendor’s API sends a message back, send the order to our supplier,” explains Malachi.
You fire up your computer and get to work, but
there’s a problem.
async / await
By the end of this course, you should feel comfortable using all these tools in projects, and you should be able to decide which tool makes the most sense for any given project.
What will you learn in this course:
- Delay code execution with setTimeout
- Repeatedly perform tasks with SetInterval
- Wrap asynchronous code in Promises
- Understand and Use Async / Await
- Understand and Use Generators
What are the prerequisites for this course?
Check out the detailed breakdown of what’s inside the course
- Downloadable Resource
- Defining Asynchronous / What is Synchronous code? 04:08 04:08
- All About Asynchronous Code 05:38 05:38
- Course Roadmap 00:38 00:38
SetTimeout and setInterval
Async / Await
User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.
Our students work
with the Best
Related Video CoursesView More
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video CoursesSubscribe now
Master prominent technologies at full length and become a valued certified professional.Explore Now