Coding / Programming Videos

Post your favorite coding videos and share them with others!

How I Finally Learned JavaScript Promises – Practical Example

Download Video link >



How I Finally Learned JavaScript Promises – Practical Example

In this video, I share the code snippet that gave me my ‘ah-ha!’ moment with JavaScript Promises. After walking through that example, I show how to use Promise.all() to execute a callback with an array of Promises.

Stack Overflow Answer:
http://stackoverflow.com/questions/34980588/is-this-the-correct-way-to-wrap-readfilesync-in-a-promise

Better Callbacks with Closure: https://youtu.be/NaaBPuvfRms

Callbacks to Generators with Promises: https://youtu.be/jQDckFmuFQs

Discussing .map(): https://youtu.be/d-eOsNJ549Q

source

Bookmark(0)
 

 

View Comments source >

Transcript view all >

00:00 welcome back everybody in this video I'm

00:03 going to be talking about something

00:05 really exciting for me which is that I

00:07 finally understand well enough how to

00:10 use promises in my code and it comes

Leave a Reply

Please Login to comment
  Subscribe  
Notify of
Translate »