Skip to main content
CourseFlix

Asynchronous JavaScript

4h 38m 53s
English
Paid

Understanding the asynchronous nature of JavaScript is key to mastering the language. This course is designed to take someone with a beginner level knowledge of async programming and turn them into an expert. We achieve this by starting with simple concepts, explaining core principles, and gradually adding layers of knowledge. This is punctuated by quizzes and coding challenges to reinforce your understanding before moving onto the next section.

Why This Course?

If you've ever encountered asynchronous code and wondered, "What went wrong?" then this course is perfect for you. Consider this example:

code
 function doAsyncTask(cb) {
 cb();
 }

 doAsyncTask(() => console.log(message));

 const message = "Hello, I am a teapot";

Can you fix this code without moving the last variable up the page? If not, you've come to the right place.

What You'll Learn

  • Ace any asynchronous JavaScript interview question
  • Spend less time debugging asynchronous code
  • Write fast and performant JavaScript applications
  • Understand complex JavaScript concepts

Course Benefits

By the end of this course, you'll become an expert in asynchronous programming in JavaScript, with profound insights that many seasoned developers may not possess.

  • Perform exceptionally in JavaScript interviews, especially questions about asynchronous code
  • Reduce time spent on debugging asynchronous code
  • Impress your colleagues and friends with your comprehensive knowledge of async programming

Course Structure

How We Teach

We will clearly explain the concepts of async and sync code, along with their respective advantages and disadvantages. We'll cover in-depth asynchronous patterns in JavaScript, including Callbacks, Promises, Async/Await, and even Generators, with plenty of exercises to practice and reinforce what you've learned.

Ultimately, we'll delve into the event architecture to understand how async code is implemented in applications.

Target Audience

Is This Course For You?

The ideal student for this course should have at least a basic understanding of JavaScript, having written a few apps already. Familiarity with Node.js and comfort with command line usage is also expected. However, we'll explain everything else from first principles.

Who this course is for:
  • Anyone who is confused by asynchronous code
  • Anyone curious about the differences between Callbacks, Promises, Async/Await, and Generators
  • Coders aiming to write fast, performant code in Node or browsers
  • Those wanting to understand what setImmediate actually does
  • Developers curious about when requestAnimationFrame is triggered

About the Author: udemy

udemy thumbnail

Udemy is a global online marketplace for teaching and learning. It connects students with instructors who share skills in many fields.

Who Uses Udemy

Millions of learners use Udemy to gain skills for work and personal growth. Companies, governments, and nonprofits also use Udemy to train their teams.

What Udemy Offers

Udemy provides a curated set of business and technical courses. These courses help teams build practical skills and support ongoing learning at work.

Watch Online 48 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 48 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Welcome
All Course Lessons (48)
#Lesson TitleDurationAccess
1
Welcome Demo
02:14
2
Agenda
03:43
3
How to get the course code?
01:55
4
How to install node and which node to install?
05:44
5
How to get setup with Visual Studio Code?
11:27
6
Whats V8 vs Chrome vs Node?
12:06
7
Introduction
01:24
8
What is Asynchronous?
05:07
9
Blocking vs Non-Blocking
11:31
10
Multi-Threaded Programming
08:27
11
Event Driven Programming
12:04
12
Introduction
02:26
13
Callbacks - Quiz #1
05:56
14
Callbacks - Handling Errors
04:46
15
Callbacks - Quiz #2
03:37
16
Callbacks - Callback Hell
02:00
17
Callbacks - Quiz #3
04:47
18
Promises - Basics
05:17
19
Promises - Quiz #1
06:40
20
Promises - Chaining
06:36
21
Promises - Quiz #3
05:39
22
Promises - Returning Promises
02:32
23
Promises - Quiz #4
03:26
24
Promises - Error Handling
05:02
25
Promises - Quiz #5
02:31
26
Promises - Finally
04:42
27
Promises - All
04:33
28
Promises - Race
03:43
29
Promises - Quiz #6
05:02
30
Promises - Quiz #7
09:13
31
Async/Await - Basics
10:51
32
Async/Await - Quiz #1
07:40
33
Async/Await - No Await
03:48
34
Async/Await - Async Iterators
10:39
35
Async/Await - Quiz #2
06:27
36
Async/Await - Warning
03:13
37
Generators - Understanding Generators
08:55
38
Generators - Using yield to communicate
06:17
39
Generators - Async Generators
02:10
40
Generators - Quiz #1
04:32
41
Introduction
02:30
42
Node Event Loop
10:30
43
Node Event Loop Example
06:13
44
Node Event Loop Live Demo
08:47
45
Node Event Loop Quiz #1
03:04
46
Node Event Loop Quiz #2
05:16
47
Chrome Event Loop
10:33
48
Closing Words
03:18
Unlock unlimited learning

Get instant access to all 47 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Related courses

  • 70+ JavaScript Challenges: Data Structures & Algorithms thumbnail

    70+ JavaScript Challenges: Data Structures & Algorithms

    Sources: Brad Traversy
    Master JavaScript challenges with a focus on data structures and algorithms. Improve problem-solving skills, learn recursion, and tackle coding interviews
    12 hours 29 minutes 29 seconds
  • JavaScript Algorithms and Data Structures Masterclass thumbnail

    JavaScript Algorithms and Data Structures Masterclass

    Sources: udemy
    This course crams months of computer science and interview prep material into 20 hours of video. The content is based directly on last semester of my in-person coding bootcamps…
    21 hours 47 minutes 46 seconds 5 / 5
  • Object-oriented Programming in JavaScript thumbnail

    Object-oriented Programming in JavaScript

    Sources: codewithmosh (Mosh Hamedani), udemy
    Object-oriented programming (OOP) is a popular programming paradigm or style of programming. It’s been around since ‘70s, but unlike tools and frameworks that c
    3 hours 53 minutes 46 seconds 5 / 5
  • Crash Course: Build a Full-Stack Web App in a Weekend! thumbnail

    Crash Course: Build a Full-Stack Web App in a Weekend!

    Sources: udemy
    Do you want to learn the fundamentals of modern web development fast? Do you want to find out if building websites and apps is the right career path for you? Or maybe you just…
    12 hours 13 minutes 30 seconds