@actyx/sdk
Version:
Actyx SDK
21 lines • 772 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EventStore = void 0;
const rxjs_1 = require("../../node_modules/rxjs");
const mockEventStore_1 = require("./mockEventStore");
const testEventStore_1 = require("./testEventStore");
const noopEventStore = {
subscribe: () => rxjs_1.EMPTY,
subscribeUnchecked: () => rxjs_1.EMPTY,
subscribeMonotonic: () => rxjs_1.EMPTY,
query: () => rxjs_1.EMPTY,
queryUnchecked: () => rxjs_1.EMPTY,
offsets: () => Promise.resolve({ present: {}, toReplicate: {} }),
persistEvents: () => rxjs_1.EMPTY,
};
exports.EventStore = {
noop: noopEventStore,
mock: mockEventStore_1.mockEventStore,
test: testEventStore_1.testEventStore,
};
//# sourceMappingURL=eventStore.js.map