Skip to content
Sheetwrite

@sheetwrite/core

withXlsxFormulaEnginefunction

Report a problem

On this page

Run use with the engine's formula text operations, in one engine session. XLSX codecs can run before initSheetwrite(): an initialized document lends its engine, and otherwise a temporary instance releases its memory when use returns.

Declaration

function withXlsxFormulaEngine<T>(
use: (formulas: XlsxFormulaEngine) => T,
): Promise<T>

Parameters

use: (formulas: XlsxFormulaEngine) => Trequired

Called once with the formula operations; do not keep them after it returns.

Returns

Promise<T>

A promise of what use returned.