Asynchronous JavaScript
Save time by executing code over time. Doesn't take a long time!
Development,Web Development,Javascript
Lectures -19
Resources -1
Duration -1 hours
30-days Money-Back Guarantee
Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.
Course Description
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.
JavaScript code executes all at once. There is no wait keyword in JavaScript that pauses before the next line of code. So how can we know if the payment information is approved by the vendor before sending a message to the supplier?
Did you know that none of these things can be accessed in JavaScript without Asynchronous Code?
In this course, we'll cover the 5 primary tools all developers need to write asynchronous JavaScript:
setTimeout
setInterval
Promise
async / await
Generator Functions
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.
Goals
- Delay code execution with setTimeout
- Repeatedly perform tasks with SetInterval
- Wrap asynchronous code in Promises
- Understand and Use Async / Await
- Understand and Use Generators
Prerequisites
- Beginner-Level JavaScript
![Asynchronous JavaScript Asynchronous JavaScript](https://d3mxt5v3yxgcsr.cloudfront.net/courses/5100/course_5100_image.jpg)
Curriculum
Check out the detailed breakdown of what’s inside the course
Introduction to Asynchronous JavaScript
6 Lectures
-
Downloadable Resource
-
An Async Javascript Scenario 02:27 02:27
-
Defining Asynchronous / What is Synchronous code? 04:08 04:08
-
WORKSHOP -Exploring Synchronicity in JavaScript 09:00 09:00
-
All About Asynchronous Code 05:38 05:38
-
Course Roadmap 00:38 00:38
SetTimeout and setInterval
5 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Async / Await
5 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Generator Functions
3 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Instructor Details
![Daniel Stern](https://www.tutorialspoint.com/assets/profiles/373003/profile/200_2485023-1631957595.jpg)
Daniel Stern
Known in development circles as “the Code Whisperer," Daniel Stern has been believed to possess a supernatural connection to computers ever since he talked the supercomputer Deep Blue off the roof of a twelve-story St. Petersburg apartment building, following its shameful loss to Gary Kasparov.
He can often be found singing softly to his tablet, or gently caressing his aluminum keyboard in his arms.
Daniel has been working as a front end and full stack developer in the tech industry since 2011. He's developed single-page applications for banks like CIBC, charities like the Ontario Institute for Cancer Research, and at ad agencies like McLaren McCann, TraffikGroup and Olson. Throughout his labors, he's worked on computer programming in his spare time because, well, he's obsessed with it.
In addition to being featured in both CSS Weekly and JavaScript weekly, Daniel is well-known throughout the open-source community for maintaining several open-source tools, most notably the Angular.js and LESS-based tool, Range .css and the Angular .js audio tool, ngAudio.
In addition to being trusted by the open source community to develop top-quality, functional code, Daniel has also been invited to speak at numerous conferences including Full Stack Conference 2014 in London, England.
Daniel is an active learner and very passionate about the following technologies,
- Node.js
- Angular.js
- TypeScript
- MongoDB
- LESS
- Grunt
- Yeoman
- Many, many, many more
Course Certificate
Use your certificate to make a career change or to advance in your current career.
![sample Tutorialspoint certificate](/market/public/assets/newDesign/img/primePacks/V-certificate.png)
Our students work
with the Best
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfc bank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfcbank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
Related Video Courses
View MoreAnnual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now![Annual Membership Annual Membership](/market/public/assets/newDesign/img/membership-large-small.jpg)
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now![Online Certifications Online Certifications](/market/public/assets/newDesign/img/traning-for-a-team.png)