Close this output with a given signal.
Close this output with a given signal.
the signal
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.
Builds a new output that applies a function to all messages written to it and concatenates the resulting segments.
Builds a new output that applies a function to all messages written to it and concatenates the resulting segments.
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 a stream input to this output.
Flush the content of a stream input to this output. The method returns control when the EOS is reached or raises the signal if it is different than EOS.
It raises an exception and poisons the input stream if the output is poisoned before the end of stream has been reached.
Flush the content of an input to this output.
Flush the content of an input to this output. The method returns control when the EOS is reached or raises the signal if it is different than EOS.
the input from which to forward the content
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.
Release this output from the process.
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
Ensure that channel is not flushing before applying a transformation.
Ensure that channel is not flushing before applying a transformation. This is only required if the process transforms the channel after a write followed by another read operation.
Write a value to this output.
Write a value to this output.
the value to write
Write a segment.
Write a segment.
the segment
Close this output
Connect an input to this output.
Connect an input to this output. Both process-level channels are released and the method returns control immediately. The signal terminating the input channel will be also copied to the output channel.
the input to connect
Connect an input to this output in a separate process.
Connect an input to this output in a separate process. Both process-level channels are released and the method returns control immediately. The signal terminating the input channel will be also copied to the output channel.
the input to connect
[use case] Builds a new output that applies a function to all messages written to it and concatenates the resulting segments.
Builds a new output that applies a function to all messages written to it and concatenates the resulting segments.
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.
[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.
[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.
Write the content of an input to this output.
Write the content of an input to this output. The method returns control when the EOS is reached or raises the signal if it is different than EOS.
the input from which to forward the content
Forward the content of a stream input to this output.
Forward the content of a stream input to this output. The method returns control when the EOS is reached or raises the signal if it is different than EOS.
It raises an exception if the output is poisoned before the end of stream has been reached. In this case the input is not poisoned.
(Since version 0.1) Use flush
instead
Forward the content of an input to this output.
Forward the content of an input to this output. The method returns control when the EOS is reached or raises the signal if it is different than EOS.
the input from which to forward the content
(Since version 0.1) Use flush
instead
A process-level output channel.
the type of the output's messages