'use strict';

const bluebird = require('bluebird');

module.exports.promisify = (fn) => {
    return bluebird.promisify(fn, {
        multiArgs: true
    });
};

module.exports.asCallBack = (promise, cb) => {
    return bluebird.resolve(promise).asCallback(cb);
};

@@ -156,16 +156,100 @@
 %7D);%0A%7D;%0A%0A
+module.exports.promisifyAll = (obj) =%3E %7B%0A    return bluebird.promisifyAll(obj);%0A%7D;%0A%0A
 module.e

Add promisifyAll to utils