Home
last modified time | relevance | path

Searched refs:nodeback (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/npm/node_modules/bluebird/js/release/
Dnodeify.js8 function spreadAdapter(val, nodeback) { argument
10 if (!util.isArray(val)) return successAdapter.call(promise, val, nodeback);
12 tryCatch(nodeback).apply(promise._boundValue(), [null].concat(val));
18 function successAdapter(val, nodeback) { argument
22 ? tryCatch(nodeback).call(receiver, null)
23 : tryCatch(nodeback).call(receiver, null, val);
28 function errorAdapter(reason, nodeback) { argument
35 var ret = tryCatch(nodeback).call(promise._boundValue(), reason);
41 Promise.prototype.asCallback = Promise.prototype.nodeify = function (nodeback, argument
43 if (typeof nodeback == "function") {
[all …]
/third_party/node/deps/npm/node_modules/bluebird/js/browser/
Dbluebird.js2733 function spreadAdapter(val, nodeback) {
2735 if (!util.isArray(val)) return successAdapter.call(promise, val, nodeback);
2737 tryCatch(nodeback).apply(promise._boundValue(), [null].concat(val));
2743 function successAdapter(val, nodeback) {
2747 ? tryCatch(nodeback).call(receiver, null)
2748 : tryCatch(nodeback).call(receiver, null, val);
2753 function errorAdapter(reason, nodeback) {
2760 var ret = tryCatch(nodeback).call(promise._boundValue(), reason);
2766 Promise.prototype.asCallback = Promise.prototype.nodeify = function (nodeback,
2768 if (typeof nodeback == "function") {
[all …]