How to Use Javascript Promises

preview_player
Показать описание
This screencast explains the Javascript Promise pattern at a very high level. Promises are a fundamental tool for modern Javascript development, but it's easy to get overwhelmed when first starting out.

All of the code is pseudo-code meant to make the concept of Promises easier to understand. In a real code base you probably want to use a promise library such as Q or Bluebird instead of using the native Javascript deferred object.
Рекомендации по теме
Комментарии
Автор

7 years later, this is still the best explanation on promises. Thank you!

yevgeniyaterlyuk
Автор

It takes a special kind of intellect to explain a complicated abstract notion properly. You sir are the best I've seen.

capcadoi
Автор

Waaaav, what an explanation! Only a few people on this planet can explain some things better. This video has finally cleared my question which I am having for a long time. God bless you.

harikumar-cqje
Автор

Watched a bunch of videos and still had no idea what Promises were and how they worked. Watched YOUR video and I GOT IT!!!! You did a spectacular job explaining how it worked and how to use it in different situations. Thank you for you video.

foxtools
Автор

Absolutely the best promise explanation I've ever seen so far. Congrats man!

DEVDerr
Автор

You explained the whole deferred and promise thing in such a simple way. Thank you sir. Though some of the methods used are obsolete now, but is a good stepping stone to understand the new style.

dorjeetsering
Автор

This is simply the best tutorial on promises on the whole net! Thank you very much!

mapzitm
Автор

awesome explanation .... most people explain promises in very dry and abstract manner.... what make this tutorial standout is will thought off real world uses of promises and the examples .... this indeed the best video on promises out there thanks so much and please keep up ....

WholeNewLevel
Автор

The most thorough yet succinct explanation

kanishkasinghal
Автор

OMG this is the best promise tutorial I have ever seen!
Thank you so much~

bruceweng
Автор

Never saw any video explain such concepts so effectively before. Subbed and liked.

nikhilverma
Автор

Dude this is the best explanation on promises I have ever seen.

Santanaebay
Автор

Thank you! Most resources don't explain the structure behind the Promise object as you have done. 11/10.

jacobcoles
Автор

you have done the best explanation of promise I have seen so far!! Thank you so much!!

huibinma
Автор

6:07 The way you explained this piece, that the resolve is updating the value property just helped fill another gap in my understanding of promises. I'm still watching but i just wanted to note, because that was a super "Aha moment" for me, thankyou!

officially_leema
Автор

Jordon, this is the best explanation, someone ever gave me.You are insanely brilliant.

zaheeryakub
Автор

by far the best explanation on promises !!!!

imfakeid
Автор

This is a great explanation. It was nice to see real life examples

LewizW
Автор

I was having a hard time wrapping my brain around promises until I watched this video. Thank you for the great explanation!

KaraMedema
Автор

Impressive how well you explained the concept of JS promises in such an easy-to-understand way, kudos to you!

barkgj