Skip to content
Sheetwrite

@sheetwrite/core/history

HistoryRestoreOptionsinterface

Report a problem

On this page

Options for HistoryArchive.restoreVersion.

Members

Properties

optional

The grid's coordinator in a shared document; the restore then needs an idle queue.

signal?: AbortSignal;

optional

Stops the restore before it changes the grid; the call then rejects.

kernel?: HistoryDiffRequest["kernel"];

optional

Where the history kernel WASM comes from, as HistoryDiffRequest.kernel. The restore compares the live cells with the version's on it, so it writes only the rows that differ.

Declaration

View full TypeScript declaration
export interface HistoryRestoreOptions {
signal?: AbortSignal;
kernel?: HistoryDiffRequest["kernel"];
}

Referenced by

Public exports naming HistoryRestoreOptions