The Async Await Episode I Promised

  Рет қаралды 1,170,635

Fireship

Fireship

Күн бұрын

Пікірлер: 1 000
@kiwihour333
@kiwihour333 2 жыл бұрын
Glad he returned the promise that we've long awaited
@notsojharedtroll23
@notsojharedtroll23 2 жыл бұрын
😷😷😷
@zaynelovecraft
@zaynelovecraft Жыл бұрын
LOL no pun right ?
@santi100a
@santi100a Жыл бұрын
But the Actions job failed because he took more than six hours.
@nyx2859
@nyx2859 Жыл бұрын
Finally fulfilled
@prismanic24
@prismanic24 Жыл бұрын
Get out
@skylible
@skylible 6 жыл бұрын
"When you're start making promises that's when you're more likely to screw things up" That's also how it works in real life. Noted.
@cyan2048
@cyan2048 2 жыл бұрын
I've always thought JavaScript could never actually be a good analogy for everyday life.
@Mzulfreaky
@Mzulfreaky 2 жыл бұрын
Yepp
@neux64
@neux64 2 жыл бұрын
I knew someone would quote this before I looked through these comments.
@nullbeyondo
@nullbeyondo Жыл бұрын
I just made a promise to a friend of attending a surprise birthday tomorrow and I probably screwed it up because I also promised my family to go out on a trip the same day which I haven't resolved yet ugh.
@taltalonix
@taltalonix 2 жыл бұрын
I was debugging something for an hour and decided it's finally time to fully understand the async / await functionality, turns out the concurrent map execution was the issue lol. Thank you for the quality content (from 4 years ago), you are helping me a lot and everyone else in the community.
@kld0093
@kld0093 6 жыл бұрын
You Promised, and we awaited. ...Sorry for bad joke
@Fireship
@Fireship 6 жыл бұрын
It's ok, async-await is the best place for bad jokes :)
@resetcoder
@resetcoder 5 жыл бұрын
I sync it wasn't that bad.
@jingchuanzhu1073
@jingchuanzhu1073 5 жыл бұрын
yeah! all async-ed
@sindydanelygarciahernandez
@sindydanelygarciahernandez 5 жыл бұрын
😂😂😂
@jelordgulle9022
@jelordgulle9022 5 жыл бұрын
Deserves a medal
@thehumanslayer55
@thehumanslayer55 6 жыл бұрын
You deserve so many more views, favorite channel about development on youtube
@busyrand
@busyrand 5 жыл бұрын
Promise Statements and Async Await are the favorite things I've recently learned about in JavaScript. This lecture was/is right at the borders of what I understand, and was challenging in a good way. I appreciate the visuals. I really appreciate the additional lecture resources you mentioned. I will study them and loop back to this periodically until I'm clear on what was presented.
@garywaddell6309
@garywaddell6309 6 жыл бұрын
You’re the only guy that I slow the speed down instead of skipping or speeding it up 🙂. Love the emoticons in the code, how do you do that?
@Fireship
@Fireship 6 жыл бұрын
Thanks Gary. They are supported natively on most systems now so you can copy them from Emojipedia, or use them on the web with a utf8 meta tag.
@__mayank
@__mayank 6 жыл бұрын
You can also use the Windows key + dot/period shortcut anywhere in Windows
@deville295
@deville295 6 жыл бұрын
oh sweet thank you Mayank
@LukePighetti
@LukePighetti 6 жыл бұрын
On macOS control+command+space pulls up the Emoji keyboard
@djadjana
@djadjana 6 жыл бұрын
ahah i was just going for the speed option when i saw your comment on the top of the comment list XD
@jesselima_dev
@jesselima_dev 3 жыл бұрын
This video is from Oct 11, 2018. It is still one of the best explanation I have ever seen. It is just so clear. And that recommended video about the NodeJS event loop is a must-watch for JavaScript developers. I am an Android Developer and I saw that video. So if you are JS Dev and you did not, you might be a bit late. No worries there is still time. :P
@Jopie65
@Jopie65 5 жыл бұрын
It's good that you explain the background of async/await! I consider those keywords both a blessing and a curse. In my experience, people new to JavaScript use it without knowing what's going on in the background. This often leads to bad results which they don't know how to resolve. When you know how promises work, you can actually appreciate what async/await is abstracting away for you.
@robertzeurunkl8401
@robertzeurunkl8401 2 жыл бұрын
When I started working with Promises, it took me a while to realise that the _.then()_ was pretty much the same problem as the callback. And the big problem for me was that outside the "then()", I had no way of knowing WHEN the then has resolved, or even if it had at all. "Await" is much better.
@loddulf
@loddulf 6 жыл бұрын
Being new as a developer with just over a year coding and picking up JS as my main language a couple of months back, this video explains so many of the issues I have encountered coming from a synchronous language (Java and Python) to async in JS and TS. This channel does a great job of explaining essential concepts to newcomers like me. I'm glad I found the channel. Thanks!
@shop.autocrew2570
@shop.autocrew2570 6 жыл бұрын
Typo at 8:00, screen on the right, line number 67, it should be a=v. Great tutorial! 😀
@Fireship
@Fireship 6 жыл бұрын
You're right, good eyes :)
@orcsword
@orcsword 6 жыл бұрын
Oh, thank you man, I thought that is something wrong witm me, when I was trying to understand why is there are a=v
@karinchechik2661
@karinchechik2661 6 жыл бұрын
@@Fireship You should add this as a comment or something for future viewers.. and thanks for the great tutorial! :)
@oksanaserhiivna2634
@oksanaserhiivna2634 5 жыл бұрын
Yep, I also went to check in the comments whether smth had been already mentioned on that point, so that just not to blurt out anything silly. :) Still I really love to re-watch these tutorials now and then!
@firstprincipleslearning
@firstprincipleslearning 5 жыл бұрын
I was about to write the same comment. Good catch !
@utkarshsaxena7826
@utkarshsaxena7826 3 жыл бұрын
i swear to god for every two minutes i spent watching this video, i had to pause and go read about 2 hours worth of material. Totally worth it tho, i love this fast paced style of teaching.
@theprince08853
@theprince08853 4 жыл бұрын
I'm a backend dev and I just wanted to say this was a brilliant to-the-point video. I had to watch it twice but very invaluable. Subbed.
@alanschwarzlopez
@alanschwarzlopez 6 жыл бұрын
Man you definitely deserve much of the credit for the success of my future StartUp^^ Please don't stop, your videos are making the world a better place, thank you
@Fireship
@Fireship 6 жыл бұрын
Great to hear that! Buy me a beer when your valuation reaches 1Billion.
@tobiasrasmussen4347
@tobiasrasmussen4347 2 жыл бұрын
Hats off to you, you legend. It's mad that you can symmarize all of these concepts into just 12 minutes while making more sense then all the other videos out there that take 3-4 times longer.
@heitormbonfim
@heitormbonfim 3 жыл бұрын
So far the BEST EXPLANATION I've seen of it with practical usage and short
@hicoop
@hicoop 2 жыл бұрын
Incredible video. I avoided async and await because I didn't know what I was doing but now I think I get it
@dangerous_tangerine
@dangerous_tangerine Жыл бұрын
I think you broke my brain.
@davieskwarteng
@davieskwarteng 6 жыл бұрын
I have learned so much in a short period from your channel ... you deserve tons of credit
@MartinLP123
@MartinLP123 5 жыл бұрын
Great video! But I wondered if there might be a mistake around 8:00 on the right side. Shouldn't it be 'a = v' instead of 'v = a' if the code should be doing the same? Thanks.
@rancoxu
@rancoxu Жыл бұрын
correct, i tested it. his code returned undefined as a is undefined and v=a which makes v undefined as well.
@TT-pu1lw
@TT-pu1lw 4 жыл бұрын
I ll feel so grateful finding your channel. As soon as I start making money , gonna buy those awesome courses
@fer.balmaceda
@fer.balmaceda 6 жыл бұрын
It blown my mind. I need to study a lot yet. Great video, thanks!
@TheStrategistYT
@TheStrategistYT 3 жыл бұрын
Before I watched a lot of your videos I was in the first part of the Dunning-Kruger effect, but after watching a ton of your videos I now realize how much I don't yet know.
@connormcgill4798
@connormcgill4798 6 жыл бұрын
I love this channel and maintain a pro subscription over on their site and have found it to be more than worth the price of subscription, free access to current and upcoming courses is amazing and I love how a lot of the pro videos are a direct and more in-depth look at an earlier free video with an emphasis on real world use case scenarios. This video is excellent and really helped me to further understand how and more importantly when and when not to use async await in my code. Thanks again man and keep producing incredible content!
@Fireship
@Fireship 6 жыл бұрын
Thank you Connor! Happy to hear the feedback. How NOT to use async/await is probably the most important part :)
@xlabc
@xlabc Жыл бұрын
very very good explanation. detailing use-cases. mentioning common pitfalls. if everyone explained things like that, by now we would have conquered our local stellar environment 🚀✨
@aerivera
@aerivera 6 жыл бұрын
My mind just was blown away, amazing tutorial, as always.
@litbro8180
@litbro8180 2 жыл бұрын
This video has helped super-refine my understanding of asynchronous programming in general
@elbys_pocket
@elbys_pocket 6 жыл бұрын
It’s insane how quickly JS is developing new features. So excited to see what happens next or if we can get an ES based typing system. Thanks for the vid!
@bytequest1552
@bytequest1552 Жыл бұрын
The real catch with promises is that, when we write synchronous code in them they still block the code execution as the code that is written in the pormise runs immediatley and since it is synchronius it is handled by the runtime (broweser's engine here). The only thing that is queued in the microtask queue is the callback in the then. In case we write any asynchronous code in the promise that is handled by the web apis or any other runtime apis then its a different case.
@dakedres
@dakedres 5 жыл бұрын
Holy shit! I had no idea about the for await... loop! That's amazing, thank you!
@markemerson98
@markemerson98 3 жыл бұрын
bravo - the best 12 minute clear and simple explanation of promise, async/await I have seen to date...
@UCFc1XDsWoHaZmXom2KVxvuA
@UCFc1XDsWoHaZmXom2KVxvuA Жыл бұрын
This is top tier stuff. I've been watching Fireship for like 2 years, but it's only now that I'm finding myself forced to actually learn webdev for good. These old videos are still incredibly sharp, I'm really impressed.
@pl5778
@pl5778 Жыл бұрын
Top tier stuff. I didn't fully understand the looping concurrently / await individually until now.
@Afreshio
@Afreshio 3 жыл бұрын
Ok newbie on JS and programming here. Didn't understand most of it, but is fun watching intermediate/advanced content like this and wonder if in my future I'll be able to comprehend and do all of this by myself.
@devontebroncas4967
@devontebroncas4967 Жыл бұрын
updates??
@GrantH2606
@GrantH2606 6 ай бұрын
3 years later! Did you continue with your programming journey?
@hambrsoombaboyan2078
@hambrsoombaboyan2078 5 жыл бұрын
This was one of the videos that I didn't want to skip any second!! GREAT JOB ! Much Appreciated!
@feschber
@feschber 5 жыл бұрын
I'm just gonna let this video _sync_ in now
@vinisantos.
@vinisantos. 2 жыл бұрын
What a video, brother! I've read about it and watched quite a few videos with examples and it was still not clear. They all show you a promise converted to Async/Await...all of them failed to provide the context with the event loop in the manner you did. Best explanation hands down. Thanks for the great content. I just subscribed. P.s.: Yes...3 years after the last comment... :)
@ChadHollman
@ChadHollman 6 жыл бұрын
Great video! Great explanation, great quality, hoping for that free shirt!!
@Fireship
@Fireship 6 жыл бұрын
WINNER 🎉 - Congrats, you won the T-shirt. Message me with your mailing address and size :)
@murugans1623
@murugans1623 6 жыл бұрын
Please this time choose me. I'm following this channel right the beginning and I have implemented so many in my development using your tips. I never interested in getting t-shirts but as the days goes by seeing your videos making me to think that I should probably get your t-shirt and I should don it proudly saying you're my teacher. And again you're great. Man seriously you're awesome and the way you'll explain things is impeccable.
@agusmelo1
@agusmelo1 3 жыл бұрын
Got one question that's been bugging me and I can't wrap my head around it. The code on the right - line 67, shouldn't it be inverted? meaning a = v? Because otherwise you would be assigning *v* to an undefined value, and what you should be aiming for is to store the value you have in *v* into *a*, that's the propose of *a*, right? (Pleas someone tell me what I'm missing, thank you)
@hamidmohammad2157
@hamidmohammad2157 3 жыл бұрын
Agreed!
@limenpepper
@limenpepper 2 жыл бұрын
same question here
@sidkapoor9085
@sidkapoor9085 2 жыл бұрын
You are correct, it should be the other way around.
@xpkareem
@xpkareem 2 жыл бұрын
Oh my god thank you! I will be watching this video every single time I need to write asynchronous javascript for the foreseeable future. I have been making a couple of these mistakes you pointed out. This video deserves 20 billion views.
@tomlemanh5506
@tomlemanh5506 6 жыл бұрын
LOVE this... You've helped me so much understanding this concept.
@mlotov3838
@mlotov3838 2 жыл бұрын
I admire how you explain why async await even exists in the first place and that you should use it in a certain way to achieve maximum efficiency. Keep it up ur the best, OG subscriber :)
@angelhdzdev
@angelhdzdev 4 жыл бұрын
"The Async Await Episode I Promised" ...and that's how you make a video title.
@kevinxin1545
@kevinxin1545 4 жыл бұрын
I did not get it the first time I watched this episode, but now I know a bit more about javascript and when I came back for a review I laughed so hard XD
@BitcoinJake09
@BitcoinJake09 2 жыл бұрын
Im teaching myself Async Await in Python right now. Was very confused at first. I got my code to run, but this video helps me understand it better still.
@indrasusila9749
@indrasusila9749 6 жыл бұрын
and i set the speed setting to 0.75 for this
@devmeta1478
@devmeta1478 3 жыл бұрын
Me watching suggested courses and listening to my older colleagues for years -> almost medior developer Me watching Fireship for a month -> super senior Thx Jeff, you are amazing
@kazpeh
@kazpeh 6 жыл бұрын
This video cleared a lot of things up for me, thank you!
@sagar_pawar27
@sagar_pawar27 4 жыл бұрын
I had spent lot of hours to read so many articles about async await & promises but this guy clear my concept in just 10min
@TwstedTV
@TwstedTV 5 жыл бұрын
after studying and learning javascript, getting certificates from 4 different online completed courses, I watch this video, get depressed and rip up all my certificates and start all over again. so depressing :( because i now feel like I didnt learn shit from those courses and have to start all over again from scratch. ooh well, back to html and css and eventually javascript yet again :(
@AP-rs5wz
@AP-rs5wz 4 жыл бұрын
Can't be that bad !
@juhavehnia7862
@juhavehnia7862 2 жыл бұрын
The best tutorial for async functions I've ever seen!
@tomihawk01
@tomihawk01 6 жыл бұрын
Async/Await is a double-edged sword. It's a great addition to Javascript but it's also massively misused. I'm trying not to sound "elitist" here, but the complexity of promises and RxJS set a barrier for entry. People needed to understand how to write reactive code, work with asynchronous functions, etc. Now Async/Await has become the hammer for every timing bug that looks like a nail. I've seen the async and await keywords peppered through code in the hope it will magically fix a timing issue, mountains of code needlessly synchronised to the point it's stuttering to a halt on every page load. Hopefully people will take your "trolling" on board and gain an understanding of how it works. Really happy to see the pitfalls covered as well as the benefits.
@Fireship
@Fireship 6 жыл бұрын
I agree with you 100%, that's actually why highlighted some of the misuse and started with the event loop. Overall though, its had an overwhelmingly positive impact on the projects I've been involved with.
@LukePighetti
@LukePighetti 6 жыл бұрын
Seems pretty simple to me. Batch non-dependent promises with promise.all(), await promises, don't await synchronous code. Surely the benefits of async/await far outweigh the people using it wrong.
@siliniaTL
@siliniaTL 2 жыл бұрын
I’ve never understand async before this video, best guide ever
@debunkitnow
@debunkitnow 4 жыл бұрын
Holy sh*t i need to let this "sync" in so that i can "await" for better time to "express" myself and "promise" to come back....
@splch
@splch 3 жыл бұрын
im still awaiting your response
@dk-gl
@dk-gl 6 жыл бұрын
This video is the best Async/Await video on KZbin! Keep it up!
@PaurakhSharma
@PaurakhSharma 6 жыл бұрын
I await for your next video :)
@sudarshankj
@sudarshankj 3 жыл бұрын
At 8:30, you mention the ‘whole point of the event loop is to avoid blocking code’. Please note that using 2 awaits successively does not amount to ‘blocking code’. The chained dependency may cause delays ( in some cases, it may even be unavoidable ), but that doesn’t in any manner block the event loop. The event loop is blocked only when you do CPU intensive operations synchronously. Your videos are really good, but please make sure everything you say is clearly validated since you have a large number of followers. Cheers!
@brunobarretocarvalho2315
@brunobarretocarvalho2315 6 жыл бұрын
no jokes? i feel REJECTed didn't know about the for loop stuff, cool! about the try/catch: should i wrap all the awaits in one or use a separate try/catch for each await to treat better different errors? great video as always!
@brunobarretocarvalho2315
@brunobarretocarvalho2315 6 жыл бұрын
i feel stupid. i didn't get the initial a sink a weight joke. good one
@Fireship
@Fireship 6 жыл бұрын
That's a great question and almost included a section, but vid was getting long. I would say only 1 try/catch per function, but you might want to chain a catch call back to individual promises for fine grained error handling as needed.
@mohammadais8191
@mohammadais8191 3 жыл бұрын
Fun Fact: You will only be impressed by the video if you already know the concept
@xTiQ
@xTiQ 5 жыл бұрын
Always like your video's, really educational. But I always have to watch on 0.75x speed else it goes to fast to understand.
@SahilRajput03
@SahilRajput03 4 жыл бұрын
I usually watch at 2.0 x, you it hardly is a choice of interest. It is not proportional to learning rate though. ;D
@Glavin883
@Glavin883 4 жыл бұрын
Your quality of videos is absolutely incredible Sir.
@powerofpizzazz
@powerofpizzazz 4 жыл бұрын
i thought it was a 12 min video but i have to watch a 35 min video :(
@najimali32
@najimali32 4 жыл бұрын
Exactly😂
@shiva_krishna_das
@shiva_krishna_das 3 жыл бұрын
Superb 🔥, usually I watch KZbin tutorial by keeping the speed 1.75 or 2x , but this is the first video where I have to reduce the speed to 0.75x to get the concept. Very useful one, thanks
@vakyz5333
@vakyz5333 5 жыл бұрын
New subscriber here. the content quality of video are Amazing. i need this in my api thanks
@RahulGupta-zg3bk
@RahulGupta-zg3bk 6 жыл бұрын
One of the best channel making intermediate developer expert
@abdullahalkurdi6845
@abdullahalkurdi6845 6 жыл бұрын
I liked it but it was too fast to digest. Could you please consider making videos less faster. Truly appreciate the value of the info. Thank you
@m_usertim2755
@m_usertim2755 5 жыл бұрын
use vlc, it supports KZbin links natively. You can slow down video however you want.
@zigmasslusnys3596
@zigmasslusnys3596 6 жыл бұрын
Found your video of right good code not 💩 in my feed, loved you style of explanation and the way you provide the video editing is exceptional 🤩 one of the channels I'll definitely share and follow!
@JamieMcI
@JamieMcI 6 жыл бұрын
Don't leave a comment! It ruins my chances for a free T-shirt! (Great video!)
@greenie2600
@greenie2600 2 жыл бұрын
The clearest explanation of async/await that I've encountered. Well done!
@algeriennesaffaires7017
@algeriennesaffaires7017 6 жыл бұрын
So fast u made it so complicated you get me lost more than i was hhhh
@Sam-hj5ok
@Sam-hj5ok 2 жыл бұрын
You just showed me how much more ground I need to cover in JavaScript. Gets me excited to see I'm not even 10% done. Keep it up 👍🏿
@AnkurGandhi8489
@AnkurGandhi8489 6 жыл бұрын
The explanation is not very succinct. You could have explained a bit slower
@zurikzava9971
@zurikzava9971 6 жыл бұрын
I have no idea what he's talking about, I had to stop at 3 minutes
@qazyhn94
@qazyhn94 6 жыл бұрын
I watched video like 3 times, and its easier to rewatch it when he speaks fast
@julesl2087
@julesl2087 5 жыл бұрын
I personally love the speed of the explanation. If I don't understand I just pause the video or rewind a bit.
@aeriox9916
@aeriox9916 5 жыл бұрын
I think It’s better as it is - simply as mentioned above - It’s more efficient to rewatch the whole video or a part of it for the sake of understanding rather than get a long one with slow explanation that usually tends to make the viewer get bored and lose focus
@hughpapaheffner4957
@hughpapaheffner4957 5 жыл бұрын
This is an advanced topic, not for beginners. This is the right speed if you know what he is talking about.
@Dan-codes
@Dan-codes 3 жыл бұрын
This was very helpful. I like how rapidly you gave instruction, yet made it very clear.
@denniszenanywhere
@denniszenanywhere 5 жыл бұрын
Serious question. Does anyone really like this speed? He is certainly very knowledgeable but I doubt if anyone can really understand him.
@avivshvitzky2459
@avivshvitzky2459 5 жыл бұрын
I agree, I usually speed-up videos, but this one as actually too fast for me
@shubhambahre9021
@shubhambahre9021 4 жыл бұрын
What a video. You can't miss even a second of it
@AdrianGordon1231
@AdrianGordon1231 5 жыл бұрын
Whoa whoa, slow down a little man. Great content but you are going way too fast. I know it definitely takes more effort and may not be worth it, but if you type out the code instead of coping and pasting the slowed pacing will make it much easier for your audience to grasp the concepts.
@Cromzinc
@Cromzinc 5 жыл бұрын
I agree, I had to put him on .75 playback.
@vnrbhat
@vnrbhat 5 жыл бұрын
I had same thought, I had to rewind many time to understand "billion loop".
@okie9025
@okie9025 5 жыл бұрын
this isnt a tutorial
@arisgrey8772
@arisgrey8772 6 жыл бұрын
The best video I've watched so far for await / async. I covers all the aspect in such small duration. Loved the emoji too :D
@ImperiumLibertas
@ImperiumLibertas 6 жыл бұрын
watchVideo() .then(comment()) .then(winTshirt());
@ColinRichardson
@ColinRichardson 6 жыл бұрын
You do know you are calling and running comment and winTshirt immediately, not waiting for the video to finish? I presume you meant to reference the comment function, not run it?
@LukePighetti
@LukePighetti 6 жыл бұрын
await watchVideo() await comment() const didWin = await winTshirt() if(didWin) console.log("😁")
@geovannyquiros5080
@geovannyquiros5080 6 жыл бұрын
Luke Pighetti you can use it on if conditions :)
@bhupendra8429
@bhupendra8429 6 жыл бұрын
@@LukePighetti u missed try catch block
@buttofthejoke
@buttofthejoke 5 жыл бұрын
*then* takes a function reference. So unless your comment and winTshirt methods return a function, they would get executed immediately watchVideo() .then(comment) .then(winTshirt); or if you Don't want to use response from previous promise watchVideo() .then(videoWatched => comment()) .then(commented => winTshirt())
@deepeshnair
@deepeshnair 2 жыл бұрын
You have incredible content and the way you present it is amazing 👏🏿👏🏿👏🏿 Also there’s a gotcha with async where if you mark a function async it does return a promise but if you do not use an await modifier inside the async function it would behave as a normal function. Example async function hello() { console.log(‘world’) } hello() console.log(“This is second”) Output world This is second What we generally think is that the hello() function would run later since it returns a promise but it does not since it doesn’t have await
@wabisabi7727
@wabisabi7727 5 жыл бұрын
you talk so fast. i cant watch whole things clearly
@HarshithJV
@HarshithJV 5 жыл бұрын
yup. way too fast. I slowed down to -0.75 speed. 😂
@TheManchineel
@TheManchineel 2 жыл бұрын
Amazing video, now I want a smoothie 🍓
@glatocha
@glatocha 4 жыл бұрын
that's way too fast. I got discourage after 2 minutes
@Some-q1
@Some-q1 7 ай бұрын
You have to set the timeout for at least 12 minutes and 4 seconds
@shannonhall4871
@shannonhall4871 6 жыл бұрын
Nice, thanks so much. Jake Archibald really made it clear for me whats going on. Your stuff is always great and i always get something from it even if i think i know already.
@Fireship
@Fireship 6 жыл бұрын
Thanks! Jake's talk is one of my favorite of all time.
@vladimirzizic6874
@vladimirzizic6874 4 жыл бұрын
Great job, however, this was very fast. It`s so much info in 12 minutes. I was pausing and rewinding hundreds of times.
@chandlerzhu9735
@chandlerzhu9735 3 жыл бұрын
using await in if condition is really cool
@beratsulimani9823
@beratsulimani9823 6 жыл бұрын
async winnerTShirt() { await('ME'); }
@victorbustamante1647
@victorbustamante1647 2 жыл бұрын
man i was struggleing to get why await wasnt waiting in a foreach loop... needless to say thanks mate, i just came thru that thanks to you
@ahmadalkassar9504
@ahmadalkassar9504 3 жыл бұрын
Best Async/Await video very good point you mention that async/await will not work as expected
@mohammedibrahimali2988
@mohammedibrahimali2988 6 жыл бұрын
Each an individual day is a learning from you guys, you guys deserved much better. Await for the T-Shirt
@sickair45
@sickair45 3 жыл бұрын
wish you had a channel that explained these same concepts in a more beginner-friendly style. Feel like I have to already by a developer to understand.
@jackwalker2639
@jackwalker2639 2 жыл бұрын
Discovered your channel very late. Thanks for such a clear explanation.
@arun-sun-dawn
@arun-sun-dawn 4 жыл бұрын
I am realy stuck in async and await in daily woring concepts ,this video gives some ideas to understand this concept
@hassanassaad4743
@hassanassaad4743 4 жыл бұрын
Each time I need to use asynchronous in TypeScript I watch this video, thx man
@SantoshMore98
@SantoshMore98 6 жыл бұрын
Hi, It helps me lot to understand async and await. To understand it I have seen the videos 3 times. Thanks for making such videos.👍👍
@Fireship
@Fireship 6 жыл бұрын
Great to hear that, thanks for watching :)
@stith_pragya
@stith_pragya Жыл бұрын
Thank You So Much for this wonderfull video....................🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
@christoslytras7912
@christoslytras7912 5 жыл бұрын
Uses _ => when there are no arguments... uses (v) => when there is a single argument 🤦🏻‍♂️🤦🏻‍♂️ Thanks for the great content! Keep it up! 🙌🙌
@Assassunn
@Assassunn 5 жыл бұрын
I didn't know about that underscore, writing () must be too annoying, but at least it's very clear. However with only one argument, *const you_dont_need_the = parenthesis => "it works"*
@camperjett
@camperjett 3 жыл бұрын
I am binging your channel. It's been 2 weeks and am already loving web dev 😀
@LearningToCodeAndDesign
@LearningToCodeAndDesign 2 жыл бұрын
Thank you for your tutorials. I slow down to 75% to learn better with you!
@Ishreet
@Ishreet 2 жыл бұрын
i can't believe how hard this guy killed it. sick explanation!
@athbuys3588
@athbuys3588 2 жыл бұрын
super appreciate the vid, so much info. ngl, its taken me about an hour to get through this 12 minute video
Async Await vs. Promises - JavaScript Tutorial for beginners
24:30
JavaScript Pro Tips - Code This, NOT That
12:37
Fireship
Рет қаралды 2,5 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Stuning 2d to 3d with Hunyuan3d 2
10:41
Vladimir Chopine [GeekatPlay]
Рет қаралды 4,2 М.
The JavaScript Survival Guide
14:47
Fireship
Рет қаралды 740 М.
JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue
12:35
JavaScript: How It's Made
10:54
Fireship
Рет қаралды 892 М.
How I Made JavaScript BLAZINGLY FAST
10:10
ThePrimeagen
Рет қаралды 226 М.
Asynchronous JavaScript Course (Async/Await, Promises, Callbacks)
1:36:23
freeCodeCamp.org
Рет қаралды 701 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН