Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Transformer<I, O>

A transformer for constructing a TransformStream.

Type parameters

  • I = any

  • O = any

Hierarchy

  • Transformer

Index

Properties

Optional flush

A function called after all chunks written to the writable side have been transformed by successfully passing through transform(), and the writable side is about to be closed.

Optional readableType

readableType: undefined

Optional start

A function that is called immediately during creation of the TransformStream.

Optional transform

A function called when a new chunk originally written to the writable side is ready to be transformed.

Optional writableType

writableType: undefined

Generated using TypeDoc