Asynchronous Javascript Tutorial - Promises and Async Await Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.ค. 2024
  • CHECK OUT LADDER: bit.ly/3Ca4H0C
    In this video I go over the basics of asynchronous programming in Javascript.
    🚀 Learn ReactJS By Building 6 Projects: codedamn.com/learn/reactjs-pr...
    Social
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Website: machadopedro.com
    Linkedin: / machadop1407
    Instagram: / _pedro.machado_
    Github: github.com/machadop1407
    Email: machadop1407@gmail.com
    Tags:
    - ReactJS Tutorial
    - ReactJS and MySQL
    - NodeJS Tutorial
    - API Tutorial
    Timestamps
    00:00 | Intro
    01:26 | Promises
    17:00 | Async Await
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 170

  • @sanTakagi-gv4dy
    @sanTakagi-gv4dy ปีที่แล้ว +34

    This is the most easy understanding video to learn Asynchronous Javascript in my learning journey.
    Thanks a lot , Pedro. :)

  • @HoNow222
    @HoNow222 2 ปีที่แล้ว +37

    One of the clearest explanations

    • @PedroTechnologies
      @PedroTechnologies  2 ปีที่แล้ว +4

      Thank you! Really appreciate it!

    • @D369_
      @D369_ 11 หลายเดือนก่อน

      agreed. I recently purchased another TH-camr’s course and had to request a refund. it was terrible. this guy has actual teaching skills at half their age 😂

  • @LowProFile1803
    @LowProFile1803 9 หลายเดือนก่อน +8

    Clear, straight to the point, zero confusion: perfect explanation!!! Thank you so much!

  • @blacklight2792
    @blacklight2792 ปีที่แล้ว +3

    You're an amazing guy. Whenever I have confusion about certain topics, you always clear it up for me. Please continue to upload videos about the React topic. Thank you, buddy.

  • @Unknownbrowndude
    @Unknownbrowndude 2 ปีที่แล้ว +6

    I was having so much trouble grasping the concept of promises & async/await until I came accross your perspective on it.
    Thank you ever so much for this detailed yet clear explanation!

  • @stephenawuah2020
    @stephenawuah2020 ปีที่แล้ว +5

    I found your channel yesterday and is like you are in my shoes , you are answering every question i had in mind , this is a great channel , thanks a lot for explain these concepts , , i have watched most of your videos and i am learning a lot from you , thanks man ,, the React , Async JS, things to know in JS before you start react , thanks man , I appreciate 🙏🙌💪

  • @Joe-od3td
    @Joe-od3td 2 ปีที่แล้ว +3

    As soon as I found your channel I started learning much quicker! Thanks your a great teacher :)

  • @liseros9932
    @liseros9932 ปีที่แล้ว +1

    I have seen several videos on the subject, in my opinion your explanation is the best. I finally understood async-await! Thank you

  • @SychicGamer
    @SychicGamer ปีที่แล้ว +2

    This video combined with the video on javascript concepts to know before learning react has really finally helped understand the concepts that were getting me so stuck in javascript and were kind of scaring me away from it tbh. Thank you so much!

  • @ayo_de_bag
    @ayo_de_bag ปีที่แล้ว

    I'd like to sincerely appreciate you for making this video and taking the time to explain in clear terms. You are the best of the best!!!

  • @guilhermehuyer
    @guilhermehuyer 8 หลายเดือนก่อน

    I think I've finally understood the whole asynchronous concept in JavaScript. Thank you, my fellow Brazilian dev!

  • @ingeniousgoldie
    @ingeniousgoldie ปีที่แล้ว

    Wonderful! I'm lucky to have clicked on this particular video to learn about Promises. Thank you Pedro!

  • @pranitapanchmukh402
    @pranitapanchmukh402 ปีที่แล้ว +2

    This is the best video I've seen. You are definitely the best teacher! Thank you so much.

  • @frischsticks
    @frischsticks ปีที่แล้ว +4

    Best video I have watched in a while. Took the time to explain clearly and in detail. Thank you!!

  • @akritiyadav3873
    @akritiyadav3873 2 ปีที่แล้ว

    Your code running with node to show the output on the terminal is great, because I was not able to practice with ease in the browser thankyou Pedro, you are young but you teach exact points of the topic not unnecessay stuff.

  • @Pareshbpatel
    @Pareshbpatel ปีที่แล้ว +6

    Great tutorial on the use of promises and async/await to fetch data. Thanks, Pedro.
    {2022-10-20}

  • @semaytube370
    @semaytube370 ปีที่แล้ว +1

    Now, I found the concept of "async - await and promises- .then" a lot easier. Thank you bro.😍

  • @victortimi
    @victortimi ปีที่แล้ว +1

    I already knew that his explanation would be the best, he explains like someone explaining to a kiddo

  • @gideon6319
    @gideon6319 ปีที่แล้ว +1

    Thanks a lot Pedro. You kind of simplify programming concepts and moreso communicate it in a relatable manner. When I have difficulties digesting concepts, I kind of have you in my mind as my go-to resolver 😃😃😃. Glad I found you🙏..

  • @sth9590
    @sth9590 ปีที่แล้ว

    I finally understand the concept of promises & async/await. Thank you Pedro

  • @rahulsreekumar9708
    @rahulsreekumar9708 9 หลายเดือนก่อน

    The best video on async javascript. All concepts combined into 1. Very crisp and simple explanation. Thanks bro.

  • @berkantasci8811
    @berkantasci8811 ปีที่แล้ว

    Very clear explanation. This channel is full of good education videos. Good job Pedro

  • @titongoma4680
    @titongoma4680 ปีที่แล้ว

    Great explanation! Finally, I understood async await.

  • @Ujjwalchhabra1
    @Ujjwalchhabra1 4 หลายเดือนก่อน

    one of the best videos on async/await I've seen

  • @TimothyBurns-lb4cb
    @TimothyBurns-lb4cb ปีที่แล้ว +1

    PedroTech, thank you so much. I've come into contact with async and await many times in other languages without putting in the time to understand it. Consequently my experience with multithreading anything has been very terrible. Your video made it all click, thanks (:

  • @wagvin1
    @wagvin1 8 หลายเดือนก่อน

    After watching many videos, bro your video finally helped me to understand this topic. Thank you

  • @user-ue2lv2ol3s
    @user-ue2lv2ol3s ปีที่แล้ว +1

    Bro keep it up , best understanding over async and promises

  • @nk-hu7pt
    @nk-hu7pt หลายเดือนก่อน

    Best video explaining this concept in whole youtube

  • @unistern
    @unistern 2 ปีที่แล้ว +4

    best explanation so far on youtube. thank you very much

  • @lekandar4889
    @lekandar4889 2 ปีที่แล้ว

    Love your teaching styles man

  • @PatrickAmornlertpanit
    @PatrickAmornlertpanit 2 ปีที่แล้ว

    Your accent is very easy to understand, thanks for the hard work man!

  • @georgepynadath2025
    @georgepynadath2025 11 หลายเดือนก่อน

    Thank you so much. I finally understood both clearly.

  • @kedhareswar4568
    @kedhareswar4568 4 หลายเดือนก่อน +1

    This is my first youtube comment ,Excellent content brother I have been struggling since so long from this topic you nailed it perfectly !!

  • @michaelzhao485
    @michaelzhao485 ปีที่แล้ว

    super amazing video. straightforward and easy to understand. Big thanks

  • @kiarashclassic
    @kiarashclassic ปีที่แล้ว +1

    Thanks for the amazing tutorial👍 It was very helpful

  • @SvetaSveta-ms4hi
    @SvetaSveta-ms4hi 2 ปีที่แล้ว +5

    Impeccable as always. I'm hooked on your channel. 😍

  • @codetechpro
    @codetechpro ปีที่แล้ว

    Thank you Pedro, Now I understand what the heck is Promise and async and await....

  • @Humboo
    @Humboo 2 ปีที่แล้ว

    Thank you! Your explanation was very comprehensive.

  • @AfreenSyed-rl1xf
    @AfreenSyed-rl1xf ปีที่แล้ว

    thanks a lot man. you have no idea how much I needed it.

  • @abimbolapatrick2707
    @abimbolapatrick2707 ปีที่แล้ว

    Thank you very much. You made the concepts very easy to understand

  • @ztrixx3280
    @ztrixx3280 2 ปีที่แล้ว

    Beautifully explained. Thanks.

  • @manoj-k
    @manoj-k 2 ปีที่แล้ว

    This was great tutorial! Thank you so much 🙏🏻

  • @k303k
    @k303k 11 หลายเดือนก่อน

    Thanks for the video Pedro!

  • @andrewmugisha2241
    @andrewmugisha2241 ปีที่แล้ว

    Excellent video. Very clear explanation.
    Thank you

  • @levyroth
    @levyroth 2 ปีที่แล้ว

    Beautiful and clear explanation 🙏

  • @ThColinPereira
    @ThColinPereira 2 ปีที่แล้ว +2

    This was so helpful!

  • @patrickc.2680
    @patrickc.2680 2 ปีที่แล้ว

    good stuff. thanks (we need more of this)

  • @normsamorganda1646
    @normsamorganda1646 ปีที่แล้ว

    Thanks. Its much clearer now

  • @adhirajkar7396
    @adhirajkar7396 ปีที่แล้ว +1

    This is the best promises and async await video on youtube, as a beginner we should know the bare minimum at first but other youtubers start teaching call back hell nd other shits at the start.

  • @yemiomotoso9215
    @yemiomotoso9215 2 ปีที่แล้ว +1

    Absolute Legend you are sir

  • @kylekristian27
    @kylekristian27 ปีที่แล้ว +1

    One thing to add might be that when returning something from an async function it will return a promise, which you can then resolve using .then/.catch/.finally

  • @darkelixir2517
    @darkelixir2517 ปีที่แล้ว

    Really helpful video, got two ways to use a get method with axios

  • @vayusandesh
    @vayusandesh ปีที่แล้ว

    Very clearly explained!

  • @Amitsarker
    @Amitsarker ปีที่แล้ว

    Excellent explanation.
    Thank you

  • @JagTheRipper
    @JagTheRipper 6 หลายเดือนก่อน

    Solid explanation well done 💪🏼👍🏼

  • @ravisankarp61
    @ravisankarp61 ปีที่แล้ว

    very clearly explained ,thank you

  • @amansaxena5620
    @amansaxena5620 ปีที่แล้ว

    so far this is the best video

  • @Rohit-bm9si
    @Rohit-bm9si 11 หลายเดือนก่อน

    Great video. I would like to appreciate your efforts for uploading this video.

  • @Circumvenscion
    @Circumvenscion ปีที่แล้ว

    Excellent video. Keep it up!

  • @Sashad2003
    @Sashad2003 ปีที่แล้ว

    Very good explanation. Thank you 🙏

  • @sushantluitel
    @sushantluitel 9 หลายเดือนก่อน

    Pedro you really are a great tutor

  • @enriquegrageda
    @enriquegrageda 9 หลายเดือนก่อน

    Thanks brother, love from san diego :)

  • @MegaJohn144
    @MegaJohn144 8 หลายเดือนก่อน +1

    I have been trying to understand this concept and how to code it. The best I have been able to do is find examples and copy them, but I don't understand them. This I understand. Thank you. Good luck with your schooling, and I hope you find a job.

  • @emransalam1896
    @emransalam1896 2 ปีที่แล้ว

    Best explanation! Thanks man.

  • @nico273
    @nico273 11 หลายเดือนก่อน

    Thank you so much! Helped me a lot

  • @arcosd63
    @arcosd63 2 ปีที่แล้ว

    Pedro, this was an amazing video, you really demystified this aspect that it has always been hard to remember and why you use async and await, you should be teaching college dude.

  • @LinhNguyen-nh8oq
    @LinhNguyen-nh8oq 4 วันที่ผ่านมา

    Thanks pedro, good explanations

  • @renzmarionremias9871
    @renzmarionremias9871 3 หลายเดือนก่อน

    Best tutorial Pedro and straight to the point! May I know what vs code theme you used in this video? Thanks!

  • @g.soujanya6704
    @g.soujanya6704 ปีที่แล้ว +1

    super clear.Thank you so such...

  • @smak1n
    @smak1n 8 หลายเดือนก่อน

    You are a legend dude!

  • @Kira-hj4en
    @Kira-hj4en 11 หลายเดือนก่อน

    Thanks Pedro!

  • @leonardodayrell2976
    @leonardodayrell2976 2 ปีที่แล้ว

    Wow, what a video!

  • @azizulhakim1534
    @azizulhakim1534 2 ปีที่แล้ว

    Best explanations ever!

  • @Kliamframe
    @Kliamframe 2 ปีที่แล้ว

    Damn, you're good at explaining!

  • @hameesharantharu9745
    @hameesharantharu9745 ปีที่แล้ว

    Thanks man this was a life saver 🔥

  • @dominicquintilian345
    @dominicquintilian345 2 ปีที่แล้ว

    Great video. Amazing explanation

  • @Titan-ey2wj
    @Titan-ey2wj 6 หลายเดือนก่อน

    great explanation, thanks 🤜🙏

  • @appstuff6565
    @appstuff6565 ปีที่แล้ว

    thank you for this man.

  • @genosthegreat7870
    @genosthegreat7870 2 ปีที่แล้ว +1

    Well explained ❤️

  • @akritiyadav3873
    @akritiyadav3873 2 หลายเดือนก่อน

    It is the best explanation ever

  • @hrushikway
    @hrushikway ปีที่แล้ว

    Thank you so much man ❤

  • @DeepakKapiswe
    @DeepakKapiswe 2 ปีที่แล้ว

    I wish I watched this video when I was learning JS ❤️❤️❤️

  • @mfrog
    @mfrog 9 หลายเดือนก่อน

    great video, thank you so much

  • @surya_kirann
    @surya_kirann 6 หลายเดือนก่อน

    Watching this single video is enough to subscribe your channel thank you..!!!

  • @genosthegreat7870
    @genosthegreat7870 2 ปีที่แล้ว +1

    You're the best bro

  • @rgablejr
    @rgablejr 2 หลายเดือนก่อน

    Nice overview!

  • @ronnieranjit8242
    @ronnieranjit8242 ปีที่แล้ว

    You're the best bruh....

  • @JKTurner1
    @JKTurner1 3 หลายเดือนก่อน

    best explanation. thanks load

  • @learnwithjoe8117
    @learnwithjoe8117 2 ปีที่แล้ว

    thanks!! this solved my problem!!

  • @user-ke9jo8dk2s
    @user-ke9jo8dk2s ปีที่แล้ว +1

    great job!!!!

  • @arbabmemon2095
    @arbabmemon2095 ปีที่แล้ว

    Great explanation

  • @monkeystylle
    @monkeystylle 2 ปีที่แล้ว +1

    thank you so much !

  • @nibrasa8580
    @nibrasa8580 ปีที่แล้ว

    Thank you so much for this... :)

  • @sabeerwaqas
    @sabeerwaqas ปีที่แล้ว

    Thank you very much.👍

  • @andrews13
    @andrews13 ปีที่แล้ว

    Sweet!

  • @poojakamble3643
    @poojakamble3643 ปีที่แล้ว

    awesome explanation

  • @abdullahalsiam105
    @abdullahalsiam105 2 ปีที่แล้ว +1

    You are awesome!

  • @ShubhamPatil-rr4on
    @ShubhamPatil-rr4on 2 ปีที่แล้ว +2

    Great videos you are making
    I love the. React ♥️

  • @VibhaPundir
    @VibhaPundir ปีที่แล้ว

    you are great teacher

  • @tatendamuzenda8442
    @tatendamuzenda8442 9 หลายเดือนก่อน

    best easy to understand video