{"size": 574, "ext": "js", "max_stars_repo_path": "node_modules/@calebboyd/semaphore/deferred.js", "max_stars_repo_name": "aremu3/chatapp", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "node_modules/@calebboyd/semaphore/deferred.js", "max_issues_repo_name": "aremu3/chatapp", "max_issues_repo_issues_event_min_datetime": "2021-01-28T20:42:29.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-11T04:56:31.000Z", "max_forks_repo_path": "node_modules/@calebboyd/semaphore/deferred.js", "max_forks_repo_name": "Marco12223/YouTube-Desktop", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 33.7647058824, "max_line_length": 66, "alphanum_fraction": 0.6585365854}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function createDeferredFactory(PromiseCtor) {
    if (PromiseCtor === void 0) { PromiseCtor = Promise; }
    return function deferred() {
        var deferred = {};
        var promise = new PromiseCtor(function (resolve, reject) {
            deferred.resolve = resolve;
            deferred.reject = reject;
        });
        deferred.promise = promise;
        return deferred;
    };
}
exports.createDeferredFactory = createDeferredFactory;
exports.createDeferred = createDeferredFactory();
