diff --git a/index.bs b/index.bs index 6a894f662..517909b77 100644 --- a/index.bs +++ b/index.bs @@ -171,18 +171,21 @@ sink.

Transform Streams

-

Transform streams are not yet fully developed. We are iterating on their design using a JavaScript -reference implementation and test suite; you can follow that work on the issue tracker. Until then, this section -gives a brief overview of their intended design, even though the details of their API is not yet determined.

+A transform stream consists of a pair of streams: a writable stream, known as its writable +side, and a readable stream, known as its readable side. In a manner specific to the transform +stream in question, writes to the writable side result in new data being made available for reading from the readable +side. -A transform stream consists of a pair of streams: a writable stream, and a readable stream. -In a manner specific to the transform stream in question, writes to the writable side result in new data being made -available for reading from the readable side. Concretely, any object with a writable property and a -readable property can serve as a transform stream. However, we plan to provide a -TransformStream class which makes it much easier to create such a pair that is properly entangled. +Concretely, any object with a writable property and a readable property can serve as a +transform stream. However, the standard {{TransformStream}} class makes it much easier to create such a pair that is +properly entangled. It wraps a transformer object which defines the specific transformation to be performed. -Some examples of transform streams include: +An identity transform stream is a type of transform stream which forwards all chunks written to its +writable side to its readable side, without any changes. This can be useful in a variety of scenarios. By default, the {{TransformStream}} constructor will +create an identity transform stream, when no transform method is present on the transformer object. + +Some examples of potential transform streams include: