Skip to content

createSequentialPartReader

function createSequentialPartReader(options: SequentialPartReaderOptions): MultipartPartReader;

Defined in: src/providers/web/multipartUploadPool.ts:73

Creates a mutex-guarded sequential part reader over a byte stream.

Part numbers and byte ranges are assigned deterministically at cut time: with the same source and part size, part N always contains the same bytes no matter how many concurrent workers consume the reader.

ParameterTypeDescription
optionsSequentialPartReaderOptionsSource stream, part size, and optional resume offsets.

MultipartPartReader

Reader whose next() yields parts in cut order.