Materializes the stream, including all components linked (transitively) to this one, and starts running it.
Materializes the stream, including all components linked (transitively) to this one, and starts running it.
The same result is produced no matter which stream component is used to call build
.
This method may only be called once per stream (see README on the subject of reusing components).
A shortcut method that calls build
and returns the RunningStreamComponent representing this
.
A shortcut method that calls build
and returns the RunningStreamComponent representing this
.
A shortcut method that calls build
and returns the future result produced by this component.
A shortcut method that calls build
and returns the future result produced by this component.
Returns the result future that will eventually be completed when the stream runs.
Returns the result future that will eventually be completed when the stream runs. This is identical to the Future
returned by the RunningStream for this component, which is also returned by buildResult
.
This method is useful when you want to know about the completion and/or the result in a location other than the one where you actually run the stream, such as when you produce a Sink and give it to someone else to use.
Called on each input element, non-concurrently with itself and onNext.
Called on each input element, non-concurrently with itself and onNext.
Can only be called once, and no more calls to onNext are allowed afterwards.
Called if the stream fails.
Called if the stream fails. See the README on the semantics of stream failure. This method is guaranteed to be called exactly once.
This is called *concurrently* with onNext and onComplete.
Called on each input element, non-concurrently with itself and onComplete.
Called on each input element, non-concurrently with itself and onComplete.
A StreamOutput represented as a triplet of onXxx functions.
com.fsist.stream.StreamOutput