How to use the _async function from bluebird

Find comprehensive JavaScript bluebird._async code examples handpicked from public code repositorys.

1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
"use strict";
module.exports = function(Promise, PromiseArray, apiRejection, debug) {
var util = _dereq_("./util");
var tryCatch = util.tryCatch;
var errorObj = util.errorObj;
var async = Promise._async;


Promise.prototype["break"] = Promise.prototype.cancel = function() {
    if (!debug.cancellation()) return this._warn("cancellation is disabled");

fork icon3
star icon16
watch icon0

+ 2 other calls in file