[use case] Adds a segment in front of this output.
Adds a segment in front of this output.
the segment to prepend.
an output which produces seg
as first segment and
which continues with the remaining of the stream.
Adds a segment in front of this output.
Adds a segment in front of this output.
the segment to prepend.
an output which produces seg
as first segment and
which continues with the remaining of the stream.
[use case] Adds a message in front of this output.
Adds a message in front of this output.
the message to prepend.
an output which produces x
as first message and
which continues with the remaining of the stream.
Adds a message in front of this output.
Adds a message in front of this output.
the message to prepend.
an output which produces x
as first message and
which continues with the remaining of the stream.
Add a stream transformer to this channel.
Add a stream transformer to this channel.
the transformed channel
Close the channel
Close the channel
Write last value
Write the last segment
Write the last segment
Note that this must flush any buffered channel (@see BufferedOChan).
the last segment
[use case] Builds a new output that applies a partial function to all messages on which the function is defined and filter out the others.
Builds a new output that applies a partial function to all messages on which the function is defined and filter out the others.
the message type of the returned output channel.
the partial function which filters and maps the stream elements.
a new output resulting from applying the partial function
pf
to each message on which it is defined.
The order of the messages is preserved.
Builds a new output that applies a partial function to all messages on which the function is defined and filter out the others.
Builds a new output that applies a partial function to all messages on which the function is defined and filter out the others.
the message type of the returned output channel.
a new output resulting from applying the partial function
pf
to each message on which it is defined.
The order of the messages is preserved.
[use case] Builds a new output that applies a function to every segment written to it.
Builds a new output that applies a function to every segment written to it.
the message type of the returned output.
the function to apply to each segment and returning a single message.
a new output resulting from applying the given collection-valued function
f
to each segment written to it.
Builds a new output that applies a function to every segment written to it.
Builds a new output that applies a function to every segment written to it.
the message type of the returned output.
the function to apply to each segment and returning a single message.
a new output resulting from applying the given collection-valued function
f
to each segment written to it.
Builds a new debugging output that prints every message received.
Builds a new debugging output that prints every message received.
the label to put in front of each debug line.
A function converting messages to a string (defaults to _.toString).
The same output excepted each message will be printed.
[use case] Builds a new output that applies a function to every messages written to it and concatenates the resulting segments.
Builds a new output that applies a function to every messages written to it and concatenates the resulting segments.
the message type of the returned output.
the function to apply to each message and returning a segment.
a new output resulting from applying the given collection-valued function
f
to each message written and concatenating the results.
Builds a new output that applies a function to every messages written to it and concatenates the resulting segments.
Builds a new output that applies a function to every messages written to it and concatenates the resulting segments.
the message type of the returned output.
the function to apply to each message and returning a segment.
a new output resulting from applying the given collection-valued function
f
to each message written and concatenating the results.
[use case] Builds a new output that applies a function to all messages written to it and concatenates the results.
Builds a new output that applies a function to all messages written to it and concatenates the results.
the message type of the returned output.
the function to apply to each message.
a new output resulting from applying the given collection-valued function
f
to each message written and concatenating the results.
Builds a new output that applies a function to all messages written to it and concatenates the results.
Builds a new output that applies a function to all messages written to it and concatenates the results.
the message type of the returned output.
the function to apply to each message.
a new output resulting from applying the given collection-valued function
f
to each message written and concatenating the results.
Flush the content of an input to this output.
Flush the content of an input to this output. It stops as soon as one of the two channel is poisoned and it does not propagate the poison signal.
A stream that returns the channels after the flush operation. If the stream completed successfully, then the input channel is closed, otherwise the output channel is poisoned.
[use case] Builds a new output by applying a function to all the messages wrote to it.
Builds a new output by applying a function to all the messages wrote to it.
the message type of the returned input.
the function to apply to each message.
a new input resulting from applying the given function
f
to each message of this input.
Builds a new output by applying a function to all the messages wrote to it.
Builds a new output by applying a function to all the messages wrote to it.
the message type of the returned input.
the function to apply to each message.
a new input resulting from applying the given function
f
to each message of this input.
Produces an output resulting from applying a repeatedly a parser combinator to its messages.
Produces an output resulting from applying a repeatedly a parser combinator to its messages.
the type of the messages of the resulting output
output which parses its messages
Builds an output producing cummulative results of applying the operator going from first to last message written.
Builds an output producing cummulative results of applying the operator going from first to last message written.
the type of the messages accepted by the resulting output
the initial state
output producing intermediate results
Write a segment on this channel.
Write a segment on this channel.
the user-level thread
the continuation invoked once the message has been written