class TransformStream
Supported only in the v8 engine. Introduced in Max v9.2.0.
A byte-oriented transform stream pairing a writable input with a readable output.
Index
Constructors
Properties
new TransformStream(transformer, writableStrategy, readableStrategy)
new TransformStream(
transformer?: any,
writableStrategy?: any,
readableStrategy?: any,
);
Constructs a new instance of the TransformStream class
| Parameter | Type | Description |
|---|---|---|
| optional transformer | any | an object with optional start, transform, and flush methods. |
| optional writableStrategy | any | an optional queuing strategy for the writable side. |
| optional readableStrategy | any | an optional queuing strategy for the readable side. |
readable ReadableStream read-only
The readable output side.
writable WritableStream read-only
The writable input side.