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

ParameterTypeDescription
optional transformeranyan object with optional start, transform, and flush methods.
optional writableStrategyanyan optional queuing strategy for the writable side.
optional readableStrategyanyan optional queuing strategy for the readable side.

readable ReadableStream read-only

The readable output side.

writable WritableStream read-only

The writable input side.