How to Use Javascript Promises



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.

source

Reply


Build A Site Info