PHP 8.2.30
Preview: promisify.js Size: 495 B
/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

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
3.12 KB lrw-r--r-- 2026-03-09 06:51:26
Edit Download
7.72 KB lrw-r--r-- 2026-03-09 06:51:26
Edit Download
5.69 KB lrw-r--r-- 2026-03-09 06:51:26
Edit Download
299 B lrw-r--r-- 2026-03-09 06:51:26
Edit Download
495 B lrw-r--r-- 2026-03-09 06:51:26
Edit Download
499 B lrw-r--r-- 2026-03-09 06:51:26
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).