"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDoneError = void 0;
const deferred_js_1 = require("./deferred.js");
function getDoneError() {
    const deferred = (0, deferred_js_1.getDeferred)();
    return {
        doneError: {
            done: deferred.resolve,
            error: deferred.reject
        },
        promise: deferred.promise
    };
}
exports.getDoneError = getDoneError;
