Skip to content
Sheetwrite

@sheetwrite/core

CommitJournalinterface

Report a problem

On this page

Durable record of committed transactions, written as part of the commit. When record rejects, the authority does not publish or acknowledge the commit. capture returns the committed document after the transaction and is called only when the journal needs a checkpoint. HistoryArchive from @sheetwrite/core/history implements this interface.

Members

Methods

Declaration

View full TypeScript declaration
export interface CommitJournal {
record(
capture: () => WorkbookSnapshot,
): Promise<void>;
}

Referenced by

Public exports naming CommitJournal