강의

멘토링

로드맵

Programming

/

Web Development

The Complete Guide to JavaScript Asynchronous Programming - Promise, await, async

Asynchronous programming is a core concept in JavaScript. This course will help you fully understand and use asynchronous programming.

(5.0) 12 reviews

128 learners

  • drajin
동시성
JavaScript
Node.js
promise
async-await

Reviews from Early Learners

What you will learn!

  • JavaScript Asynchronous Programming

  • Using the Promise object

  • Using await and async keywords

  • Concurrent Programming

Make your JavaScript programming more powerful!
A Core Guide to Asynchronous Programming 📖

JavaScript now
Why you should learn asynchronous programming!

JavaScript, an event-driven language

JavaScript is an event-based programming language designed to provide dynamic functionality to browsers. JavaScript programs handle events using callback functions, using APIs provided by the browser or Node.js system. Therefore, developing applications in JavaScript requires a thorough understanding of asynchronous programming.

The Promise object, included in ES6 in 2015, and the await and async keywords included in ES2017 provide a way to easily program asynchronously executed functions to be executed synchronously as desired .

Have you ever used the Promise object, or the await or async keywords in your JavaScript code? If you're just starting out with JavaScript development, they might feel unfamiliar or unfamiliar. Of course, many modules already provide these keywords, so you've probably already used them.

How does asynchronous programming work? 🤔

If you're curious about how the two programs below work and what output they produce, this lecture is for you!

In this lecture, we will start with the Callback function and then explain the meaning and usage of the Promise object and the await and async keywords one by one.
Asynchronous JavaScript programming: No more confusion !


Asynchronous programming in JavaScript
Complete explanation from start to finish

💡 This course is intended for those who have learned the basics of JavaScript . Basic knowledge (variables, functions, if statements, loops, etc.) will not be explained separately.

Section 1-1

This course covers the history of JavaScript, its origins, and the meaning of asynchronous programming. Learn how to register callback functions and handle user events in the browser.

Section 1-2

This article explains how a Node.js-based web server works. We'll also explore the case of callback hell.

Sections 1-3

Explains asynchronous programming using callbacks.

Sections 1-4

Learn about asynchronous programming using the Promise object.

Sections 1-5

Learn about asynchronous programming using the await-async keyword.

Sections 1-6

You will learn about concurrent programming using asynchronous functions.

If you want to improve your programming skills ,
4 Study Tips for Students

  • ✅ If you try to understand something by running it first and then looking at the results, your skills will not improve.
  • ✅ Read the program, imagine how it will work, and predict the results.
  • ✅ You can't learn just by seeing and hearing.
  • ✅ Write the code you want.

💾 Training Environment Guide

  • This tutorial will be conducted in a Node.js environment. We recommend installing the latest version.
  • I use Visual Studio Code as my IDE, but you can use any other IDE.

Recommended for
these people

Who is this course right for?

  • People learning JavaScript

  • People who are confused about how asynchronous programming works

  • People who are not familiar with using Promise objects

  • People who are not familiar with the use of await and async keywords

Need to know before starting?

  • JavaScript Language Fundamentals

Hello
This is

323

Learners

27

Reviews

10

Answers

5.0

Rating

3

Courses

소프트웨어 아키텍트 & 교육가

현) 보이는소프트웨어연구소 대표(2016~현재)
  - 삼성전자 소프트웨어 아키텍트 양성 및 인증
  - 소프트웨어 구조 설계 및 평가 교육 / 컨설팅

중앙대학교 소프트웨어 대학 겸임 교수(2018~2022)
  - 기초 컴퓨터 프로그래밍 - C/C++, JavaScript, Python

삼성전자(2003~2016)

Curriculum

All

9 lectures ∙ (1hr 20min)

Published: 
Last updated: 

Reviews

All

12 reviews

5.0

12 reviews

  • salary999님의 프로필 이미지
    salary999

    Reviews 19

    Average Rating 5.0

    5

    100% enrolled

    This was exactly the lecture I wanted. I like it because I can learn the browser operation process in detail. The flow of understanding is still slow, but if I watch it repeatedly and get used to it, I think I will be able to quickly understand the flow even when looking at long codes. Thank you.

    • joc12454232님의 프로필 이미지
      joc12454232

      Reviews 9

      Average Rating 4.9

      5

      67% enrolled

      Because the runtime is short, I listened to it all at once as if I was listening to a liberal arts lecture :) I knew about asynchrony and used it when working on projects, but I thought I didn't understand it properly, and I think this lecture explained those parts well from the basics. If there is anyone who is studying the basics of JavaScript and wants to learn about asynchrony properly, I think it would be good to take this lecture. Additionally, it would be good if there was a follow-up lecture that gave a simple example of how to use asynchronous programs in practice. The instructor's voice was also very good, and I listened with satisfaction. Thank you.

      • drajin
        Instructor

        I'm so touched because this is my first class review^^ Many Node.js modules already support promises, so I think it wouldn't be difficult to develop without them. Especially if you're doing backend development related to DB. I think it would be good to look at Prisma (prisma.io). You can also test it out easily at https://playground.prisma.io/examples

    • cindy01137123님의 프로필 이미지
      cindy01137123

      Reviews 3

      Average Rating 4.7

      5

      100% enrolled

      It explains concepts and flow with clean and simple explanations. I recommend it for those who want to understand concepts more clearly or want a reminder.

      • wjdqudwn님의 프로필 이미지
        wjdqudwn

        Reviews 131

        Average Rating 5.0

        5

        33% enrolled

        • hyejincho7614님의 프로필 이미지
          hyejincho7614

          Reviews 2

          Average Rating 5.0

          5

          100% enrolled

          $17.60

          drajin's other courses

          Check out other courses by the instructor!

          Similar courses

          Explore other courses in the same field!