Add a stream transformer to this channel.
Add a stream transformer to this channel.
the transformer
the transformed channel
Close the channel
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
[use case]
[use case]
Write last value
Write last value
the 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]
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.
[use case]
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]
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]
the message type of the returned output.
the function to apply to each message.
a new input resulting from applying the given collection-valued function
f
to each message of this input 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]
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
A stream output channel.
the type of the output's messages