The type of items flowing through the stream.
Constructs a new BatchStream.
The type of items flowing through the stream.
Configuration options for batch size and timeout.
ReadonlyreadableThe readable read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
ReadonlywritableThe writable read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
A
TransformStreamthat accumulates incoming items into arrays of a fixed size or flushes early if an optional maximum wait duration elapses.Example