mappingOutputStreamFor

Creates a mapping output stream that applies the function f to all elements written to the stream.

mappingOutputStreamFor
(
S
)
()
if (
isSomeMappingFunction!(typeof(f))
&&
is(MappingFunctionReturnType!(typeof(f)) == StreamType!S)
)

Parameters

stream S

The stream to wrap.

Return Value

Type: MappingOutputStream!(f, S)

A mapping output stream.

Meta