%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules/agent-base/dist/src/
Upload File :
Create Path :
Current File : //opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules/agent-base/dist/src/promisify.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function promisify(fn) {
    return function (req, opts) {
        return new Promise((resolve, reject) => {
            fn.call(this, req, opts, (err, rtn) => {
                if (err) {
                    reject(err);
                }
                else {
                    resolve(rtn);
                }
            });
        });
    };
}
exports.default = promisify;
//# sourceMappingURL=promisify.js.map

Zerion Mini Shell 1.0