Interface: OpfsSpoolReaderOptions
Defined in: batteries/storage/opfs/index.ts:161
Constructor options for OpfsSpoolReader.
Properties
| Property | Type | Default value | Description | Defined in |
|---|---|---|---|---|
streamThresholdBytes? | number | 10 * 1024 * 1024 (10 MiB) | Byte-length threshold that switches between eager and streaming modes. Remarks - Below the threshold → eager (whole-file in memory). - At or above the threshold → streaming (line-offset index + per-line slice reads). Set to 0 to force streaming mode; set to Number.POSITIVE_INFINITY to force eager mode. | batteries/storage/opfs/index.ts:173 |