API reference: @salmonui/core/export-model
CsvStreamOptionsinterface
import type { CsvStreamOptions } from '@salmonui/core/export-model';interface CsvStreamOptions extends CsvOptions {
readonly chunkRows?: number;
readonly sliceMs?: number;
readonly yield?: () => Promise<void>;
}
| Name | Signature | Description |
|---|---|---|
chunkRowsoptional | readonly chunkRows?: number; | Upper bound of rows per chunk. Default 5,000. |
sliceMsoptional | readonly sliceMs?: number; | Time slice per chunk in ms; a chunk ends early when it runs longer. Default 25. |
yieldoptional | readonly yield?: () => Promise<void>; | Awaited between chunks. Default: a macrotask ( |
delimiteroptionalinherited | delimiter?: string; | Default |
lineBreakoptionalinherited | lineBreak?: string; | Default |
includeHeadersoptionalinherited | includeHeaders?: boolean; | Header line with the leaf header texts. Default true. |
valuesoptionalinherited | values?: "formatted" | "raw"; |
|
aggregateRowsoptionalinherited | aggregateRows?: boolean; | Group caption, group footer, and grid footer aggregate lines. Default true. |
bomoptionalinherited | bom?: boolean; | Prefix a UTF-8 byte order mark (Excel detects UTF-8). Default false. |
quoteAlloptionalinherited | quoteAll?: boolean; | Quote every field instead of only those that need it. Default false. |
escapeFormulasoptionalinherited | escapeFormulas?: boolean; | Neutralize spreadsheet formulas in text cells: a leading |
treeDepthColumnoptionalinherited | treeDepthColumn?: string | boolean; | Tree mode: a leading column with each row's tree depth (0 for
roots). |