Skip to content
Sheetwrite

@sheetwrite/core/history

MemoryHistoryStorageclass

Report a problem

On this page

In-memory history for one page session and for tests. Transactions run one at a time per adapter and write through PendingMapWrites, so a failure or an abort leaves the stored maps unchanged without copying them.

Members

Methods

Declaration

View full TypeScript declaration
class MemoryHistoryStorage extends AtomicHistoryStorage {
transact: <T>(
action: (transaction: HistoryStorageTransaction) => Promise<T>,
) => Promise<T>;
}