T
- The result of the stream.public interface CompletionRunner<T> extends ProducesResult<T>
When built, this builder returns a CompletionStage
that will be redeemed with the result produced by the
subscriber of the stream when the stream completes normally, or will be redeemed with an error if the stream
encounters an error.
ReactiveStreams
Modifier and Type | Method and Description |
---|---|
CompletionStage<T> |
run()
Run this stream, using the first
ReactiveStreamsEngine found by the ServiceLoader . |
CompletionStage<T> |
run(ReactiveStreamsEngine engine)
Run this stream, using the supplied
ReactiveStreamsEngine . |
CompletionStage<T> run()
ReactiveStreamsEngine
found by the ServiceLoader
.CompletionStage<T> run(ReactiveStreamsEngine engine)
ReactiveStreamsEngine
.engine
- The engine to run the stream with.Copyright © 2019 Eclipse Foundation. All rights reserved.