UNPKG

@instantdb/core

Version:
19 lines 470 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Deferred = void 0; class Deferred { constructor() { this.promise = new Promise((resolve, reject) => { this._resolve = resolve; this._reject = reject; }); } resolve(value) { this._resolve(value); } reject(reason) { this._reject(reason); } } exports.Deferred = Deferred; //# sourceMappingURL=Deferred.js.map