Skip to content
1 min read · 91 words

Interface: OpfsSpoolReaderOptions

Constructor options for OpfsSpoolReader.

Properties

PropertyTypeDefault valueDescription
streamThresholdBytes?number10 * 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.