bromises
v0.1.0
Published
light-weight promise library.. with stupid names
Downloads
2
Readme
Bromises
Like Promises... but douchier.
var bromise = require('bromise');
var bro = bromise();
bro.dude(function (val) {
val; // french fries
return bromise(function (bigup) {
bigup('count chocula');
});
})
.dude(function(val) {
val; // count chocula
return bromise(function(bigup) {
bigup('milkshake');
});
})
.dude(function (val) {
val; // milkshake
});
bro.bigup('french fries');
Legend
.dude() //then()
.notcool() //catch()
.noice() //success()
.whatevs() //always()
.bigup() //resolve()
.cockblock() //reject()