Type alias Transformer<T, V>

Transformer<T, V>: ((input: Stream<T>) => Source<V>)

A Transformer is a function that takes one stream and returns another, possibly one that produces data of a different type. Most operator functions return a transformer, allowing them to be combined via pipe().

Type Parameters

  • T
  • V = T

Type declaration