RangeOptions
How a range document fetches.
Properties
Section titled “Properties”blockSize?
Section titled “blockSize?”
readonlyoptionalblockSize?:number
Fetches are widened to whole blocks of this many bytes (default: the source’s, else 4096).
budget?
Section titled “budget?”
readonlyoptionalbudget?:number
The most bytes the document may hold (default: no limit); more is source-budget-exceeded.
maxRounds?
Section titled “maxRounds?”
readonlyoptionalmaxRounds?:number
Rounds of fetches per call before giving up with the last data-pending (default 1024).
readahead?
Section titled “readahead?”
readonlyoptionalreadahead?:number
Extra bytes fetched after each range (default 0).
signal?
Section titled “signal?”
readonlyoptionalsignal?:AbortSignal
Aborts the open’s fetches: it rejects with the signal’s reason. Later calls take their own signal (Document.ensure).