public class PeekOperation<S> extends Object implements IntermediateOperation<S,Stream<S>,S,Stream<S>>
Stream
Constructor and Description |
---|
PeekOperation(Consumer<? super S> consumer) |
Modifier and Type | Method and Description |
---|---|
Consumer<? super S> |
getConsumer() |
void |
handleInjection(ComponentRegistry registry)
Handles injection of components for various dependencies that the intermediate operation has
|
io.reactivex.rxjava3.core.Flowable<S> |
mapFlowable(io.reactivex.rxjava3.core.Flowable<S> input)
Performs the intermediate operation on a Flowable.
|
Stream<S> |
perform(Stream<S> stream)
Performs the actualy intermediate operation returning the resulting stream
|
public Stream<S> perform(Stream<S> stream)
IntermediateOperation
public void handleInjection(ComponentRegistry registry)
IntermediateOperation
handleInjection
in interface IntermediateOperation<S,Stream<S>,S,Stream<S>>
registry
- the registry to usepublic io.reactivex.rxjava3.core.Flowable<S> mapFlowable(io.reactivex.rxjava3.core.Flowable<S> input)
IntermediateOperation
mapFlowable
in interface IntermediateOperation<S,Stream<S>,S,Stream<S>>
input
- the input flowableCopyright © 2021 JBoss by Red Hat. All rights reserved.