promisee.js, Adapt promise with callback paradigm.
Usage:
npm i promisee
Desiged intentional works with co
:
const promisee = ;const co = ; ;
Works without co
like plain old Promise
too:
var r = ;var r2 = ; redis;redis; Promiseallr r2;
Or use the cornerstone then
, that combines stand-alone error and success continuations into node.js style callback:
const then = then; redis;redis;redis; { console;}
LICENSE: MIT