"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDeferred = void 0;
function getDeferred() {
    const defer = {};
    defer.promise = new Promise((resolve, reject) => {
        defer.resolve = resolve;
        defer.reject = reject;
    });
    return defer;
}
exports.getDeferred = getDeferred;
