UNPKG

@blinkk/selective-edit

Version:
19 lines 485 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Defer = void 0; /** * Ability to defer a promise resolution. */ class Defer { constructor() { this.reject = () => { }; this.resolve = () => { }; this.promise = new Promise((resolve, reject) => { this.reject = reject; this.resolve = resolve; }); Object.freeze(this); } } exports.Defer = Defer; //# sourceMappingURL=defer.js.map