Skip to content
1 min read · 101 words

Interface: FlydriveSpoolReaderOptions

Defined in: batteries/storage/flydrive/index.ts:47

Constructor options for FlydriveSpoolReader.

Properties

PropertyTypeDefault valueDescriptionDefined in
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 streaming reads). Set to 0 to force streaming mode; set to Number.POSITIVE_INFINITY to force eager mode.batteries/storage/flydrive/index.ts:59