Interface Duplex<TSource, TSink, RSink>

A "duplex" is similar to a transform but the values it consumes are not necessarily connected to the values that can be consumed from it. It is an object with two properties, sink and source.

Type Parameters

  • TSource = unknown

  • TSink = TSource

  • RSink = unknown

Hierarchy

  • Duplex

Properties

Properties

sink: Sink<TSink, RSink>
source: TSource