Publication, reader leases and reference-counted retention, shared by the
supplied adapters. Every method runs in one transact call, so a failure
leaves the stored archive unchanged.
Members
Properties
get: (request: HistoryGetRequest) => Promise<HistoryManifest | HistoryVersion | HistoryStoredRecord>;Returns the manifest, one version marker, or one record, as request.kind asks.
Methods
Returns one page of version or record metadata, newest first.
Removes expired versions and the records only they used; returns the new manifest.
Publishes records atomically, or takes or releases a reader lease; returns the new manifest.
transact: <T>(request: HistoryStorageRequest, action: (transaction: HistoryStorageTransaction) => Promise<T>) => Promise<T>Declaration
View full TypeScript declaration
get: ( transact: <T>( ) => Promise<T>;}Referenced by
Public exports naming AtomicHistoryStorage
IndexedDbHistoryStorage@sheetwrite/coreMemoryHistoryStorage@sheetwrite/core