Skip to content

magnumjs/promisespromises

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo contains the slides and examples covered in the Async talk (9 February, 2012) about JavaScript promises.

The examples relate closely to the wrappers found in jQuery.promises scripts.

Promise libraries

  • jQuery.promises (A collection of little scripts that use jQuery.Deferred for cleaner, encapsulated flow control. Feature an Image and Timer wrapper.)
  • q (Promise library for JavaScript)
  • q with jQuery (Using q and jQuery together)
  • when.js (Another promise JavaScript library)
  • node-promise (Promise library for Node)
  • futures (Flow control library which offers promise functionality)
  • promise.io (Notable for file I/O)
  • jQuery (jQuery's standard methods like Ajax return a promise)

Reading material

Credits