Uses of Interface
io.reactivex.rxjava3.functions.BiConsumer
Packages that use BiConsumer
Package
Description
Base reactive classes:
Flowable, Observable,
Single, Maybe and
Completable; base reactive consumers;
other common base interfaces.Contains the base type
ParallelFlowable,
a sub-DSL for working with Flowable sequences in parallel.-
Uses of BiConsumer in io.reactivex.rxjava3.core
Methods in io.reactivex.rxjava3.core with parameters of type BiConsumerModifier and TypeMethodDescriptionFlowable.collect(@NonNull Supplier<? extends @NonNull U> initialItemSupplier, @NonNull BiConsumer<? super @NonNull U, ? super @NonNull T> collector) Collects items emitted by the finite sourcePublisherinto a single mutable data structure and returns aSinglethat emits this structure.Observable.collect(@NonNull Supplier<? extends @NonNull U> initialItemSupplier, @NonNull BiConsumer<? super @NonNull U, ? super @NonNull T> collector) Collects items emitted by the finite sourceObservableinto a single mutable data structure and returns aSinglethat emits this structure.Flowable.collectInto(@NonNull U initialItem, @NonNull BiConsumer<? super @NonNull U, ? super @NonNull T> collector) Collects items emitted by the finite sourcePublisherinto a single mutable data structure and returns aSinglethat emits this structure.Observable.collectInto(@NonNull U initialItem, @NonNull BiConsumer<? super @NonNull U, ? super @NonNull T> collector) Collects items emitted by the finite sourceObservableinto a single mutable data structure and returns aSinglethat emits this structure.Maybe.doOnEvent(@NonNull BiConsumer<@Nullable ? super @NonNull T, @Nullable ? super Throwable> onEvent) Calls the givenonEventcallback with the (success value,null) for anonSuccess, (null, throwable) for anonErroror (null,null) for anonCompletesignal from thisMaybebefore delivering said signal to the downstream.Single.doOnEvent(@NonNull BiConsumer<@Nullable ? super @NonNull T, @Nullable ? super Throwable> onEvent) Calls the shared consumer with the error sent viaonErroror the value viaonSuccessfor eachSingleObserverthat subscribes to the currentSingle.Flowable.generate(@NonNull Supplier<@NonNull S> initialState, @NonNull BiConsumer<@NonNull S, Emitter<@NonNull T>> generator) Returns a cold, synchronous, stateful and backpressure-aware generator of values.Flowable.generate(@NonNull Supplier<@NonNull S> initialState, @NonNull BiConsumer<@NonNull S, Emitter<@NonNull T>> generator, @NonNull Consumer<? super @NonNull S> disposeState) Returns a cold, synchronous, stateful and backpressure-aware generator of values.static <@NonNull T, @NonNull S>
@NonNull Observable<T> Observable.generate(@NonNull Supplier<@NonNull S> initialState, @NonNull BiConsumer<@NonNull S, Emitter<@NonNull T>> generator) Returns a cold, synchronous and stateful generator of values.static <@NonNull T, @NonNull S>
@NonNull Observable<T> Observable.generate(@NonNull Supplier<@NonNull S> initialState, @NonNull BiConsumer<@NonNull S, Emitter<@NonNull T>> generator, @NonNull Consumer<? super @NonNull S> disposeState) Returns a cold, synchronous and stateful generator of values.final @NonNull DisposableSingle.subscribe(@NonNull BiConsumer<@Nullable ? super @NonNull T, @Nullable ? super Throwable> onCallback) Subscribes to aSingleand provides a composite callback to handle the item it emits or any error notification it issues. -
Uses of BiConsumer in io.reactivex.rxjava3.internal.functions
Methods in io.reactivex.rxjava3.internal.functions that return BiConsumerModifier and TypeMethodDescriptionstatic <T,K> BiConsumer <Map<K, T>, T> Functions.toMapKeySelector(Function<? super T, ? extends K> keySelector) static <T,K, V> BiConsumer <Map<K, V>, T> Functions.toMapKeyValueSelector(Function<? super T, ? extends K> keySelector, Function<? super T, ? extends V> valueSelector) static <T,K, V> BiConsumer <Map<K, Collection<V>>, T> Functions.toMultimapKeyValueSelector(Function<? super T, ? extends K> keySelector, Function<? super T, ? extends V> valueSelector, Function<? super K, ? extends Collection<? super V>> collectionFactory) -
Uses of BiConsumer in io.reactivex.rxjava3.internal.observers
Constructors in io.reactivex.rxjava3.internal.observers with parameters of type BiConsumerModifierConstructorDescriptionBiConsumerSingleObserver(BiConsumer<? super T, ? super Throwable> onCallback) -
Uses of BiConsumer in io.reactivex.rxjava3.internal.operators.flowable
Methods in io.reactivex.rxjava3.internal.operators.flowable with parameters of type BiConsumerModifier and TypeMethodDescriptionstatic <T,S> BiFunction <S, Emitter<T>, S> FlowableInternalHelper.simpleBiGenerator(BiConsumer<S, Emitter<T>> consumer) Constructors in io.reactivex.rxjava3.internal.operators.flowable with parameters of type BiConsumerModifierConstructorDescriptionFlowableCollect(Flowable<T> source, Supplier<? extends U> initialSupplier, BiConsumer<? super U, ? super T> collector) FlowableCollectSingle(Flowable<T> source, Supplier<? extends U> initialSupplier, BiConsumer<? super U, ? super T> collector) -
Uses of BiConsumer in io.reactivex.rxjava3.internal.operators.maybe
Constructors in io.reactivex.rxjava3.internal.operators.maybe with parameters of type BiConsumerModifierConstructorDescriptionMaybeDoOnEvent(MaybeSource<T> source, BiConsumer<? super T, ? super Throwable> onEvent) -
Uses of BiConsumer in io.reactivex.rxjava3.internal.operators.observable
Methods in io.reactivex.rxjava3.internal.operators.observable with parameters of type BiConsumerModifier and TypeMethodDescriptionstatic <T,S> BiFunction <S, Emitter<T>, S> ObservableInternalHelper.simpleBiGenerator(BiConsumer<S, Emitter<T>> consumer) Constructors in io.reactivex.rxjava3.internal.operators.observable with parameters of type BiConsumerModifierConstructorDescriptionObservableCollect(ObservableSource<T> source, Supplier<? extends U> initialSupplier, BiConsumer<? super U, ? super T> collector) ObservableCollectSingle(ObservableSource<T> source, Supplier<? extends U> initialSupplier, BiConsumer<? super U, ? super T> collector) -
Uses of BiConsumer in io.reactivex.rxjava3.internal.operators.parallel
Constructors in io.reactivex.rxjava3.internal.operators.parallel with parameters of type BiConsumerModifierConstructorDescriptionParallelCollect(ParallelFlowable<? extends T> source, Supplier<? extends C> initialCollection, BiConsumer<? super C, ? super T> collector) -
Uses of BiConsumer in io.reactivex.rxjava3.internal.operators.single
Constructors in io.reactivex.rxjava3.internal.operators.single with parameters of type BiConsumerModifierConstructorDescriptionSingleDoOnEvent(SingleSource<T> source, BiConsumer<? super T, ? super Throwable> onEvent) -
Uses of BiConsumer in io.reactivex.rxjava3.parallel
Methods in io.reactivex.rxjava3.parallel with parameters of type BiConsumerModifier and TypeMethodDescriptionfinal <@NonNull C>
@NonNull ParallelFlowable<C> ParallelFlowable.collect(@NonNull Supplier<? extends @NonNull C> collectionSupplier, @NonNull BiConsumer<? super @NonNull C, ? super @NonNull T> collector) Collect the elements in each rail into a collection supplied via acollectionSupplierand collected into with a collector action, emitting the collection at the end.