2.1.1 • Published 9 years ago
bluebird-q v2.1.1
###Introduction
This is a drop-in replacement for Q version 1.x that delegates to bluebird 3.4.6. Enjoy better stack traces, performance and memory usage without changing your existing legacy code.
Installation:
npm install bluebird-qUsage:
var Q = require("bluebird-q");###API Additionaly to Q APIs following methods are availible on Q object:
- Q.getBluebirdPromise(): Returns native bluebird Promise
###Testing
Clone this repository and then run npm install && npm test in the cloned directory root.
###Caveats
dispatch,progressandQ.makePromiseare unimplemented- Currently relies on
Object.definePropertyso cannot be used in browsers that don't support ES5 - Performance of Q-specific methods is not yet optimized e.g.
nfapplynfcallnfbindnpostnsendninvokenbindnmcallfapplyfcallfbinddenodeifynmapplymapplypostsendmcallinvoke- ....
- However bluebird-specific methods that don't collide with Q names are still available e.g.
Q.promisifyAll - A few original tests had to be modified in spec/q-spec.js, you can find these tests by searching for "Test modified"