API reference: @salmonui/core/export-model
streamCsvfunction
import { streamCsv } from '@salmonui/core/export-model';function streamCsv<Row>(model: ExportModel<Row>, options?: CsvStreamOptions): AsyncGenerator<string, void, undefined>;
Streams the model as CSV chunks. Each chunk is complete lines; chunks end
at chunkRows rows or after sliceMs, then the iterator awaits yield
before producing the next one. Pipe into a WritableStream, a file, or
collect into a Blob.