UNPKG

@actyx/sdk

Version:
17 lines 631 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SnapshotStore = void 0; const inMemSnapshotStore_1 = require("./inMemSnapshotStore"); const noopSnapshotStore = { storeSnapshot: () => Promise.resolve(false), retrieveSnapshot: () => Promise.resolve(undefined), invalidateSnapshots: () => Promise.resolve(undefined), invalidateAllSnapshots: () => Promise.resolve(undefined), }; /** Interface to the snapshot store. * @beta */ exports.SnapshotStore = { noop: noopSnapshotStore, inMem: inMemSnapshotStore_1.InMemSnapshotStore.of, }; //# sourceMappingURL=snapshotStore.js.map