Skip to content
Sheetwrite

@sheetwrite/wasm/history

loadHistoryKernelfunction

Report a problem

On this page

Instantiate the history-only diff kernel once. It is a separate WASM module with no formula engine; @sheetwrite/core/history loads it the first time a diff runs. source overrides where the WASM comes from, for example a URL that a bundler emitted for @sheetwrite/wasm/history/wasm. A failed load can be retried.

Declaration

function loadHistoryKernel(
source?: BufferSource | URL | string | Request | WebAssembly.Module,
): Promise<void>

Parameters

source?: BufferSource | URL | string | Request | WebAssembly.Moduleoptional

Where the history WASM comes from; omitted, the package's own pkg-history/sheetwrite_history_bg.wasm is loaded.