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 >

Leave a Reply

Please Login to comment
  Subscribe  
Notify of
Translate »