MapToStreamTransformer<S, T> constructor

MapToStreamTransformer<S, T>(
  1. T value
)

Constructs a StreamTransformer which always maps every event from the source Stream to a constant value.

Implementation

MapToStreamTransformer(this.value);