Async JavaScript - Callbacks, Promises, Async/Await

  Рет қаралды 63,743

codeSTACKr

codeSTACKr

Күн бұрын

Пікірлер: 113
@codeSTACKr
@codeSTACKr 5 жыл бұрын
Thanks for all of the support!! Next up Learn Sass in 30 Minutes: kzbin.info/www/bejne/eHWyq5pqob2Wick 📚 My Favorite Web Design Books 📚 Web Design with HTML, CSS, JavaScript and jQuery Set by Jon Duckett (paid link) amzn.to/2JaiCL8
@diManjenje88
@diManjenje88 2 жыл бұрын
2022 still a valid and useful tutorial. I’m learning the essential of vanilla js before move to angular/react, and this is the best explanation of promises I ever find it. Appreciate so much, many tks!
@codeSTACKr
@codeSTACKr 2 жыл бұрын
You're very welcome!
@martuzashimul6813
@martuzashimul6813 5 жыл бұрын
Love the teaching style. Confusion cleared on so many things. Expecting a REACT full course
@codeSTACKr
@codeSTACKr 5 жыл бұрын
It's on my list :) Thanks for the feedback and support!
@alirezashahmoradi7648
@alirezashahmoradi7648 4 жыл бұрын
I don't know how to thank you for this video. You're a legend. I watched multiple videos and I was still confused until I watched yours. Thanks man!!
@codeSTACKr
@codeSTACKr 4 жыл бұрын
Glad it helped!
@jocelines5578
@jocelines5578 3 жыл бұрын
There are many tutorial websites but not many KZbin videos teaching this difficult concept of handling async processing. I like the way you progress especially on how you begin with preparing for breakfast using console log. That was clever!
@shane_taylor
@shane_taylor 3 жыл бұрын
Your examples clicked with me more so than others I've seen, and brought to light a few things I hadn't seen before. Thanks!
@nikolapeychev9223
@nikolapeychev9223 3 жыл бұрын
i don't have words ............ maybe only one AMAZING!!!!!
@domieSinday
@domieSinday 3 жыл бұрын
I'm finished learning your JS Tutorials and Arrow Function and this is my first time to learn Callbacks, Promises, Async/Await in JS and my head feels like exploding with those new information. Well I guess I have to repeat it more times to make it sync to my brain cells before I proceed to your Fetch API Tutorial. So far my experiences learning in your channel was really great! Thank you so much
@codeSTACKr
@codeSTACKr 3 жыл бұрын
Nice work!
@ansilh
@ansilh 2 жыл бұрын
I'm coming from a system background, and know only the basics of HTML/CSS. Recently started exploring Java frameworks and landed on your channel to start with basics. You are amazing and the explanations are crystal clear. Thank you so much for making these videos.!
@quiz36O
@quiz36O 3 жыл бұрын
99.99% of the time, I don't comment but I was very delighted by your video so I decided to comment. I had watched 4 videos on this topic before I have watched your video but couldn't understand. However, after watching your video finally, I could understand the whole concept. Thank you!
@codeSTACKr
@codeSTACKr 3 жыл бұрын
That's awesome! Thank you
@Yoimerable
@Yoimerable 4 жыл бұрын
Thank you very much for taking your time to upload this video. Now all is clearer.
@sofienabidi6112
@sofienabidi6112 2 жыл бұрын
thank you for the short and efficient explanation
@JohnSmith-is6ns
@JohnSmith-is6ns 4 жыл бұрын
I need claryfication about few things and watched few vids, you have fantastic structure of the videos, tempo , subjects, order of subjects... fantastic content, I didn't seen such a quality from long time. Plus FINALLY javascrip vid is about javascript, not how you doing, do you have fun, black life matters, CO2, belives and all other bs ideological ppl "need to" express" nowdays. Very professional, really Im so impressed and satisfy as a client/consumer. Thank you
@milessteamaccount
@milessteamaccount 2 жыл бұрын
Excellent tutorial on how Async JavaScript. Cleared a lot of confusion I had with this topic
@khalidelgazzar
@khalidelgazzar Жыл бұрын
Great video 👍 short & sweet
@javedsaifi8871
@javedsaifi8871 2 жыл бұрын
That's it? So easy to understand, Really appreciated man. Thanks alot.
@computerscience1152
@computerscience1152 3 жыл бұрын
Awesome async js explanation.
@codeSTACKr
@codeSTACKr 3 жыл бұрын
Glad it was helpful!
@VK-yk7sx
@VK-yk7sx 4 жыл бұрын
Great explanation. Keep doing bro
@martinkarugaba
@martinkarugaba 4 жыл бұрын
Thanks, man. You nailed it. Well explained. It's was really hard for me to find a good explanation for async/await. Love from Uganda.
@codeSTACKr
@codeSTACKr 4 жыл бұрын
Thank you!
@AK-ok2jh
@AK-ok2jh 2 жыл бұрын
What a great explanation 👌👌
@naqiabedi
@naqiabedi 2 жыл бұрын
Thanks for this video it made the concept look simple
@pawelczar
@pawelczar 4 жыл бұрын
Hi, Great tutorial! I like the way you explain things and your teaching style:). But I have the question. In 17:51 min you have created promise2 with "new Promise" as you explained on the beginning of your tutriola, where when you created promise1 you used only "Promise" without "new" word. How come? What is the difference? Thanks
@codeSTACKr
@codeSTACKr 4 жыл бұрын
Thank you! Promise1 is being resolved right away, so no need. Promise2 is the long way of creating a promise but allows for more customization.
@pawelczar
@pawelczar 4 жыл бұрын
@@codeSTACKr Thank you
@vidumini23
@vidumini23 4 жыл бұрын
Excellent as always. Thank you!
@minhazrabbi531
@minhazrabbi531 3 жыл бұрын
Thank you so much for your great explanation 💖💖💖
@eliorbuskila5794
@eliorbuskila5794 4 жыл бұрын
best explanation I saw on the subject. thanks man
@codeSTACKr
@codeSTACKr 4 жыл бұрын
You're welcome!
@robertpfaff4834
@robertpfaff4834 2 жыл бұрын
So helpful. Thank you.
@jy6687
@jy6687 5 жыл бұрын
I must say this video is precise and detail with good explanation. thank you for the good work. However I have a question how do you set up your VS Code in the the tutorial, such that when you save, it will output the result of your codes automatically i.e run in the console window. instead of typing node and pressing enter key . thanks
@codeSTACKr
@codeSTACKr 5 жыл бұрын
The console at the bottom is actually the Chrome developer console, not VS Code. I'm running Live Server in VS Code so when I save it automatically runs the code. :) Thanks for the feedback and support!
@boozaa
@boozaa 5 жыл бұрын
@@codeSTACKr do you have a tutorial on how to set this up? Thanks! By the way, GREAT video!!!!
@codeSTACKr
@codeSTACKr 5 жыл бұрын
@@boozaa The console at the bottom is actually the Chrome developer console, not VS Code. I'm running Live Server in VS Code so when I save it automatically runs the code. :) I do have two VS Code videos that go over setting up the extensions. kzbin.info/www/bejne/an_Jd3mphqhqba8 kzbin.info/www/bejne/mWaqcoaVhbKLetU Thanks for watching!
@badr4u73
@badr4u73 5 жыл бұрын
Best channel of dev so far Best Of Luck
@codeSTACKr
@codeSTACKr 5 жыл бұрын
Thank you so much! More content on the way..
@lucasjin3651
@lucasjin3651 3 жыл бұрын
Absolutely amazing video. Thank you so so much.
@codeSTACKr
@codeSTACKr 3 жыл бұрын
Glad it was helpful!
@yilmaz8072
@yilmaz8072 4 жыл бұрын
Thanks for the great explanation
@evo1359
@evo1359 4 жыл бұрын
Excellent explanation
@codeSTACKr
@codeSTACKr 4 жыл бұрын
Glad it was helpful!
@rasimatics
@rasimatics 4 жыл бұрын
Thank you for your great explanation!
@subratopatnaik6361
@subratopatnaik6361 4 жыл бұрын
@codeStackr Can you tell me how can I see console.log in vscode?
@Sal-bm4mw
@Sal-bm4mw 4 жыл бұрын
Best video ever on these topics. ⭐⭐⭐⭐⭐
@codeSTACKr
@codeSTACKr 4 жыл бұрын
Wow, thanks!
@CAPS_AMERICA
@CAPS_AMERICA 4 жыл бұрын
@codeStackr, you have amazing teaching skills, the way you make this topic clear and simple, unlike the other tutorials I've watched in Udemy where instructors are skilled but can't convey the learning, have you considered making complete tutorial via Udemy?
@manishsharma-gf6fw
@manishsharma-gf6fw 4 жыл бұрын
super content, easy explaintion, only bad thing is annoying keystocks. Keep doing good work. Would like to see in crud operation with JavaScript or React live coding app. God bless you.
@devprakash5320
@devprakash5320 3 жыл бұрын
wonderful video
@PixelTB
@PixelTB 4 жыл бұрын
How was meeting.then(addToCalendar) executed without providing the argument meetingDetails? I understand that meetingDetails was resolved from the meeting promise, but you used the addToCalendar function without the argument and it still worked. Can someone explain this please?
@taar
@taar 5 жыл бұрын
clearly explained thanks.
@igorr4682
@igorr4682 4 жыл бұрын
Very clear and helpful 👍
@sohamdave1192
@sohamdave1192 4 жыл бұрын
You just saved my ass. Thank you, dude!!!!! You just earned a new sub, much love
@codeSTACKr
@codeSTACKr 4 жыл бұрын
Awesome, thank you!
@lilitmazmanyan1873
@lilitmazmanyan1873 3 жыл бұрын
THANK YOUUU!!!
@codeSTACKr
@codeSTACKr 3 жыл бұрын
No problem
@hiro6164
@hiro6164 3 жыл бұрын
I dont understand why res is replaced by addToCalendar at 16:35
@shubhamarora547
@shubhamarora547 5 жыл бұрын
very nice explanation sir thanks
@codeSTACKr
@codeSTACKr 5 жыл бұрын
Thank you for your support!
@zdarofMERGAITES
@zdarofMERGAITES 4 жыл бұрын
You are good! Thanks!
@ScaerieTale
@ScaerieTale 2 жыл бұрын
Watch them call it a 4075 🤣 No, I'm genuinely glad they seem to be learning their lesson on this one. NVidia make great products, and RTX is so much more than just pretty lighting (RTX Voice is amazing technology), but their marketing department needs to be reeled in, and whoever thought a shaved down 4080 at a similar price was a good idea, needs to spend some time working in the mail room.
@srujana3547
@srujana3547 3 жыл бұрын
Very good
@vert3cx373
@vert3cx373 4 жыл бұрын
Huge help! Thanks for the great video!
5 жыл бұрын
thanks a lot for the great content, when are you going to upload a React Series ?
@codeSTACKr
@codeSTACKr 5 жыл бұрын
Very soon :)
@rubandharmaraj6094
@rubandharmaraj6094 4 жыл бұрын
sir one doubt in callback , actually it needs to run userInfo function first and greetings func second...my answer should be john doe hello but it works in reverse
@jhoningsoft
@jhoningsoft 4 жыл бұрын
Thank you very much great class!
@codeSTACKr
@codeSTACKr 4 жыл бұрын
You're very welcome!
@anabudimir7923
@anabudimir7923 4 жыл бұрын
Thank You so much
@meysam8357
@meysam8357 2 жыл бұрын
I had question is not const did not hoisting so how the add to calendar promise know the value of meeting details as they are not on same scope and not define on global execution
@meysam8357
@meysam8357 2 жыл бұрын
By the way best best tutorial for promises
@andrewandrosow4797
@andrewandrosow4797 3 жыл бұрын
Hello! Are anywhere examples of the code in the video? I mean in text format.
@gambo2003
@gambo2003 4 жыл бұрын
Very helpful
@codeSTACKr
@codeSTACKr 4 жыл бұрын
Glad it helped
@mohammadalisedaghat9432
@mohammadalisedaghat9432 4 жыл бұрын
hi, thanks for putting this video , please create a video about class keyword in js
@codeSTACKr
@codeSTACKr 4 жыл бұрын
Here it is 😁: kzbin.info/www/bejne/npTLlKmclseNqNE
@mohammadalisedaghat9432
@mohammadalisedaghat9432 4 жыл бұрын
​@@codeSTACKr thanks a lot
@adarshchakraborty
@adarshchakraborty 3 жыл бұрын
How are you executing js file on save?
@SupriyaSinghi
@SupriyaSinghi 3 жыл бұрын
where can i find the above video code?
@patrickaviel
@patrickaviel 3 жыл бұрын
Nice!
@codeSTACKr
@codeSTACKr 3 жыл бұрын
Thanks!
@imrexx93onit91
@imrexx93onit91 2 жыл бұрын
Please how do you run js on VS code. am confused on how you are running it. please help, I commented the same on your arrow video
@mahmoudsalah7628
@mahmoudsalah7628 5 жыл бұрын
so the function defined after " .then " is actually the resolve definition ? and if not when did we define that argument ? , this is really confuses me
@codeSTACKr
@codeSTACKr 5 жыл бұрын
Yes, after .then is the resolve definition
@mahmoudsalah7628
@mahmoudsalah7628 5 жыл бұрын
@@codeSTACKr oh ...thanks alot ❤
@iamanderson
@iamanderson 5 жыл бұрын
@@mahmoudsalah7628 remember also that then accepts two arguments, the first is required that's the resolve function, the second is optional and that is the reject function.
@mahmoudsalah7628
@mahmoudsalah7628 5 жыл бұрын
@@iamanderson yeah i noticed that thank you so much ❤
@mkum2141
@mkum2141 2 жыл бұрын
Nice
@nirmalg731
@nirmalg731 4 жыл бұрын
Helpful video....
@shubhamsagar9153
@shubhamsagar9153 4 жыл бұрын
thanks so much
@codeSTACKr
@codeSTACKr 4 жыл бұрын
You're welcome!
@dev504
@dev504 3 жыл бұрын
still confuse on promises and now I am rethinking should I really learn react or not because how complex javascript is dont know what to do just stuck in loop?!!!
@__GGG__1
@__GGG__1 4 жыл бұрын
Awesome
@madie2659
@madie2659 4 жыл бұрын
Best Explanation Than you :)
@codeSTACKr
@codeSTACKr 4 жыл бұрын
Glad it helped!
@joaquinvillanueva6599
@joaquinvillanueva6599 4 жыл бұрын
i know this is a stupid question and maybe it's cause i'm a bit burnt out, but how come !hasMeeting mean hasMeeting is false when u first declared it to return false? i mean, shouldn't !hasMeeting return true? thanks in advance! ps: sorry for my bad english.
@codeSTACKr
@codeSTACKr 4 жыл бұрын
!hasMeeting will return the opposite of it's current value. So if it is currently false, it will be true. If it is currently true, it will be false.
@SheshagiriPai
@SheshagiriPai 3 жыл бұрын
It is just a flag to indicate if another meeting is scheduled at that time, if not it means hasMeeting is false. We populate meeting details only when it is false, so we can accordingly decide where to place our object.
@phengansuong4675
@phengansuong4675 4 жыл бұрын
excuse me but how does he execute his js code on vscode?
@codeSTACKr
@codeSTACKr 4 жыл бұрын
It's actually not in VS Code. It's just the Chrome console.
@rony36
@rony36 3 жыл бұрын
awesome
@abolfazlamjadi3571
@abolfazlamjadi3571 4 жыл бұрын
I didn't get promise
@asvignesh2351
@asvignesh2351 4 жыл бұрын
I really liked the content .. but I did not understand where exactly to use Promise.
@codeSTACKr
@codeSTACKr 4 жыл бұрын
I have some more videos on my channel about promises. Check them out :)
@echoo200
@echoo200 3 жыл бұрын
Wow, great tutorial. I am just dumb enough not to understand it. Even with the breakpoints :(
@georgehammond867
@georgehammond867 3 жыл бұрын
ubuntu 20.04 is very bad system as a desktop.
@georgehammond867
@georgehammond867 3 жыл бұрын
ubuntu is reallt bad, worse then linux cinnamon
Async JavaScript & Callback Functions -- Tutorial for Beginners
24:21
Fetch API Explained - Working with Data & APIs in JavaScript
18:59
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Don't Imitate, Understand #2 - Promises, Async, and Await
42:44
Tony Alicea
Рет қаралды 69 М.
Async Await vs. Promises - JavaScript Tutorial for beginners
24:30
Mastering async code with Typescript and Javascript
39:01
Jack Herrington
Рет қаралды 78 М.
Learn JSON not Jason in 10 Minutes
15:24
codeSTACKr
Рет қаралды 20 М.
JavaScript Callbacks, Promises, and Async / Await Explained
38:54
LearnWebCode
Рет қаралды 41 М.
Asynchronous JavaScript Crash Course
1:28:03
Codevolution
Рет қаралды 211 М.
Next-Level Concurrent Programming In Python With Asyncio
19:19
ArjanCodes
Рет қаралды 183 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН