transform method

Chains this stream as the input of the provided StreamTransformer.

Stream transform(
StreamTransformer<T> streamTransformer
)

Chains this stream as the input of the provided StreamTransformer.

Returns the result of streamTransformer.bind itself.

The streamTransformer can decide whether it wants to return a broadcast stream or not.