Uses of Interface
org.eclipse.microprofile.reactive.streams.operators.CompletionRunner
Packages that use CompletionRunner
Package
Description
MicroProfile Reactive Streams Operators.
-
Uses of CompletionRunner in org.eclipse.microprofile.reactive.streams.operators
Methods in org.eclipse.microprofile.reactive.streams.operators that return CompletionRunnerModifier and TypeMethodDescriptionPublisherBuilder.cancel()Cancels the stream as soon as it is run.<R> CompletionRunner<R>PublisherBuilder.collect(Supplier<R> supplier, BiConsumer<R, ? super T> accumulator) Collect the elements emitted by this stream using aCollectorbuilt from the givensupplierandaccumulator.<R,A> CompletionRunner<R> Collect the elements emitted by this stream using the givenCollector.PublisherBuilder.findFirst()Find the first element emitted by thePublisher, and return it in aCompletionStage.Performs an action for each element on this stream.PublisherBuilder.ignore()Ignores each element of this stream.PublisherBuilder.reduce(BinaryOperator<T> accumulator) Perform a reduction on the elements of this stream, using the provided accumulation function.PublisherBuilder.reduce(T identity, BinaryOperator<T> accumulator) Perform a reduction on the elements of this stream, using the provided identity value and the accumulation function.<R> CompletionRunner<R>PublisherBuilder.to(SubscriberBuilder<? super T, ? extends R> subscriber) Connect the outlet of this stream to the givenSubscriberBuildergraph.Connect the outlet of thePublisherbuilt by this builder to the givenSubscriber.PublisherBuilder.toList()Collect the elements emitted by this stream into aList.