goldfinch
v0.0.9
Published
promises
Downloads
3
Readme
goldfinch
Extends Bluebird
tap()
Promise.resolve().tap(function(a) { } /*, error handler */)
fcall()
Promise.fcall(function(p1) {}, p1).then()
nfcall()
Promise.nfcall(function(p1, cb) { cb() }, p1).then()
promisifyValues()
Promise.promisifyValues({ abc: function() {} }).abc().then()
ambidextrous()
Guess if a function takes a callback parameter, and make it optional
Promise.ambidextrous(function(abc, cb) { cb() }).then();
Promise.ambidextrous(function(abc) { return abc }).then();