"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.withResolver = withResolver;
function withResolver() {
    let resolve;
    let reject;
    const promise = new Promise((res, rej) => {
        resolve = res;
        reject = rej;
    });
    return {
        promise,
        resolve,
        reject,
    };
}
//# sourceMappingURL=with-resolver.js.map