Simple Promise/A+ Library
JavaScript HTML
Latest commit 8c66166 Jan 3, 2017 @rkatic committed on GitHub Merge pull request #17 from vladikoff/patch-1
update Promises/A+ logo and url
Permalink
Failed to load latest commit information.
test d.promise.then not in theDomain Aug 2, 2015
.gitignore
.travis.yml Test on node.js 0.12 too Aug 1, 2015
LICENSE Fix the typo in README May 26, 2013
README.md update Promises/A+ logo and url Jan 3, 2017
bower.json
p.js Ensure x is settled Dec 8, 2014
p.min.js Ensure x is settled Dec 8, 2014
package.json v0.5.0 Dec 8, 2014

README.md

Build Status

Promises/A+ logo

#P

A simple Promises/A+ library.

##API

P implements a subset of the Q API.

  • P(val)
  • P.reject(reason)
  • P.defer()
  • P.all(promises)
  • P.allSettled(promises)
  • P.spread(promises, onFulfilled, onRejected) πŸ†•
  • P.promised(aFunction)
  • P.denodeify(aFunction) πŸ†•
  • P.onerror
  • P.longStackSupport πŸ†•
  • P.nextTick(callback)
  • deferred.promise
  • deferred.resolve(value)
  • deferred.reject(reason)
  • promise.then(onFulfilled, onRejected)
  • promise.done(onFulfilled, onRejected)
  • promise.fin(callback) πŸ†•
  • promise.spread(onFulfilled, onRejected)
  • promise.all()
  • promise.allSettled()
  • promise.timeout(ms, opt_timeoutMsg)
  • promise.delay(ms)
  • promise.inspect()
  • promise.nodeify(nodeback) πŸ†•