TransformStream
The TransformStream interface of the Streams API represents a concrete implementation of the pipe chain transform stream concept.
Type Parameters
| Type Parameter | Default type |
|---|---|
I | any |
O | any |
Properties
readable
readonly readable: ReadableStream<O>;
The readable read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
writable
readonly writable: WritableStream<I>;
The writable read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream. This stream accepts input data that will be transformed and emitted to the readable stream.