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 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.
A Sink that sends data outside the stream, calculates a result, and/or has some other useful side effects.