FsFileStreamOptions
Options object for the Switch.FsFile#stream() function.
Properties
| Property | Type | Description |
|---|---|---|
chunkSize? | number | The size of each chunk to read from the file. Defaults to a memory-regime-aware size: 1 MiB in the application regime, 64 KiB in the (memory-constrained) applet regime. Larger chunks read faster but raise peak memory when piped into a DecompressionStream. Default 1048576 (application regime) / 65536 (applet regime) |