Uses of Interface
io.reactivex.rxjava3.core.SingleSource
Packages that use SingleSource
Package
Description
Base reactive classes:
Flowable, Observable,
Single, Maybe and
Completable; base reactive consumers;
other common base interfaces.Base interfaces and types for supporting operator-fusion.
Classes representing so-called hot sources, aka subjects, that implement a base reactive class and
the respective consumer type at once to allow forms of multicasting events to multiple
consumers as well as consuming another base reactive type of their kind.
-
Uses of SingleSource in io.reactivex.rxjava3.core
Classes in io.reactivex.rxjava3.core that implement SingleSourceModifier and TypeClassDescriptionclassSingle<T>TheSingleclass implements the Reactive Pattern for a single value response.Methods in io.reactivex.rxjava3.core that return SingleSourceModifier and TypeMethodDescriptionApplies a function to the upstreamSingleand returns aSingleSourcewith optionally different element type.Methods in io.reactivex.rxjava3.core with parameters of type SingleSourceModifier and TypeMethodDescriptionSingle.ambArray(@NonNull SingleSource<? extends @NonNull T>... sources) Runs multipleSingleSources and signals the events of the first one that signals (disposing the rest).Single.ambWith(@NonNull SingleSource<? extends @NonNull T> other) Signals the event of this or the otherSingleSourcewhichever signals first.Completable.andThen(@NonNull SingleSource<@NonNull T> next) Returns aSinglewhich will subscribe to thisCompletableand once that is completed then will subscribe to thenextSingleSource.Single.concat(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2) Returns aFlowablethat emits the items emitted by twoSingleSources, one after the other.Single.concat(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2, @NonNull SingleSource<? extends @NonNull T> source3) Returns aFlowablethat emits the items emitted by threeSingleSources, one after the other.Single.concat(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2, @NonNull SingleSource<? extends @NonNull T> source3, @NonNull SingleSource<? extends @NonNull T> source4) Returns aFlowablethat emits the items emitted by fourSingleSources, one after the other.Single.concatArray(@NonNull SingleSource<? extends @NonNull T>... sources) Concatenate the single values, in a non-overlapping fashion, of theSingleSources provided in an array.Single.concatArrayDelayError(@NonNull SingleSource<? extends @NonNull T>... sources) Concatenate the single values, in a non-overlapping fashion, of theSingleSources provided in an array.Single.concatArrayEager(@NonNull SingleSource<? extends @NonNull T>... sources) Concatenates a sequence ofSingleSourceeagerly into a single stream of values.Single.concatArrayEagerDelayError(@NonNull SingleSource<? extends @NonNull T>... sources) Concatenates a sequence ofSingleSourceeagerly into a single stream of values.Flowable.concatWith(@NonNull SingleSource<? extends @NonNull T> other) Returns aFlowablethat emits the items from thisFlowablefollowed by the success item or error event of the otherSingleSource.final @NonNull Observable<T> Observable.concatWith(@NonNull SingleSource<? extends @NonNull T> other) Returns anObservablethat emits the items from the currentObservablefollowed by the success item or error event of theotherSingleSource.Single.concatWith(@NonNull SingleSource<? extends @NonNull T> other) Returns aFlowablethat emits the item emitted by the currentSingle, then the item emitted by the specifiedSingleSource.Single.delaySubscription(@NonNull SingleSource<@NonNull U> subscriptionIndicator) Delays the actual subscription to the currentSingleuntil the given otherSingleSourcesignals success.static <@NonNull T>
@NonNull CompletableCompletable.fromSingle(@NonNull SingleSource<@NonNull T> single) Returns aCompletableinstance that when subscribed to, subscribes to theSingleSourceinstance and emits a completion event if the single emitsonSuccessor forwards anyonErrorevents.Flowable.fromSingle(@NonNull SingleSource<@NonNull T> source) Returns aFlowableinstance that when subscribed to, subscribes to theSingleSourceinstance and emitsonSuccessas a single item or forwards theonErrorsignal.Maybe.fromSingle(@NonNull SingleSource<@NonNull T> single) Wraps aSingleSourceinto aMaybe.static <@NonNull T>
@NonNull Observable<T> Observable.fromSingle(@NonNull SingleSource<@NonNull T> source) Returns anObservableinstance that when subscribed to, subscribes to theSingleSourceinstance and emitsonSuccessas a single item or forwards theonErrorsignal.Single.merge(@NonNull SingleSource<? extends SingleSource<? extends @NonNull T>> source) Flattens aSingleSourcethat emits aSingleSingleinto a singleSinglethat emits the item emitted by the nestedSingleSource, without any transformation.Single.merge(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2) Flattens twoSingleSources into oneFlowablesequence, without any transformation.Single.merge(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2, @NonNull SingleSource<? extends @NonNull T> source3) Flattens threeSingleSources into oneFlowablesequence, without any transformation.Single.merge(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2, @NonNull SingleSource<? extends @NonNull T> source3, @NonNull SingleSource<? extends @NonNull T> source4) Flattens fourSingleSources into oneFlowablesequence, without any transformation.Single.mergeArray(SingleSource<? extends @NonNull T>... sources) Merges an array ofSingleSourceinstances into a singleFlowablesequence, running allSingleSources at once.Single.mergeArrayDelayError(@NonNull SingleSource<? extends @NonNull T>... sources) Flattens an array ofSingleSources into oneFlowable, in a way that allows a subscriber to receive all successfully emitted items from each of the sourceSingleSources without being interrupted by an error notification from one of them.Single.mergeDelayError(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2) Flattens twoSingleSources into oneFlowable, without any transformation, delaying any error(s) until all sources succeed or fail.Single.mergeDelayError(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2, @NonNull SingleSource<? extends @NonNull T> source3) Flattens twoSingleSources into oneFlowable, without any transformation, delaying any error(s) until all sources succeed or fail.Single.mergeDelayError(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2, @NonNull SingleSource<? extends @NonNull T> source3, @NonNull SingleSource<? extends @NonNull T> source4) Flattens twoSingleSources into oneFlowable, without any transformation, delaying any error(s) until all sources succeed or fail.Flowable.mergeWith(@NonNull SingleSource<? extends @NonNull T> other) Merges the sequence of items of thisFlowablewith the success value of the otherSingleSource.final @NonNull Observable<T> Observable.mergeWith(@NonNull SingleSource<? extends @NonNull T> other) Merges the sequence of items of the currentObservablewith the success value of the otherSingleSource.Single.mergeWith(@NonNull SingleSource<? extends @NonNull T> other) Single.onErrorResumeWith(@NonNull SingleSource<? extends @NonNull T> fallback) Resumes the flow with the givenSingleSourcewhen the currentSinglefails instead of signaling the error viaonError.Single.sequenceEqual(@NonNull SingleSource<? extends @NonNull T> source1, @NonNull SingleSource<? extends @NonNull T> source2) Compares twoSingleSources and emitstrueif they emit the same value (compared viaObject.equals(Object)).Completable.startWith(@NonNull SingleSource<@NonNull T> other) Returns aFlowablewhich first runs the otherSingleSourcethen the currentCompletableif the other succeeded normally.Flowable.startWith(@NonNull SingleSource<@NonNull T> other) Returns aFlowablewhich first runs the otherSingleSourcethen the currentFlowableif the other succeeded normally.Maybe.startWith(@NonNull SingleSource<@NonNull T> other) Returns aFlowablewhich first runs the otherSingleSourcethen the currentMaybeif the other succeeded normally.final @NonNull Observable<T> Observable.startWith(@NonNull SingleSource<@NonNull T> other) Returns anObservablewhich first runs the otherSingleSourcethen the currentObservableif the other succeeded normally.Single.startWith(@NonNull SingleSource<@NonNull T> other) Returns aFlowablewhich first runs the otherSingleSourcethen the currentSingleif the other succeeded normally.Maybe.switchIfEmpty(@NonNull SingleSource<? extends @NonNull T> other) Returns aSinglethat emits the items emitted by the currentMaybeor the item of an alternateSingleSourceif the currentMaybeis empty.Single.takeUntil(@NonNull SingleSource<? extends @NonNull E> other) Returns aSinglethat emits the item emitted by the currentSingleuntil a secondSingleemits an item.Single.timeout(long timeout, @NonNull TimeUnit unit, @NonNull Scheduler scheduler, @NonNull SingleSource<? extends @NonNull T> fallback) Runs the currentSingleand if it doesn't signal within the specified timeout window, it is disposed and the otherSingleSourcesubscribed to.Single.timeout(long timeout, @NonNull TimeUnit unit, @NonNull SingleSource<? extends @NonNull T> fallback) Runs the currentSingleand if it doesn't signal within the specified timeout window, it is disposed and the otherSingleSourcesubscribed to.Single.timeout0(long timeout, TimeUnit unit, Scheduler scheduler, SingleSource<? extends @NonNull T> fallback) Single.unsafeCreate(@NonNull SingleSource<@NonNull T> onSubscribe) Advanced use only: creates aSingleinstance without any safeguards by using a callback that is called with aSingleObserver.Single.wrap(@NonNull SingleSource<@NonNull T> source) static <@NonNull T1, @NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull T9, @NonNull R>
@NonNull Single<R> Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull SingleSource<? extends @NonNull T4> source4, @NonNull SingleSource<? extends @NonNull T5> source5, @NonNull SingleSource<? extends @NonNull T6> source6, @NonNull SingleSource<? extends @NonNull T7> source7, @NonNull SingleSource<? extends @NonNull T8> source8, @NonNull SingleSource<? extends @NonNull T9> source9, @NonNull Function9<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? super @NonNull T9, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to nine items emitted by nine otherSingleSources.static <@NonNull T1, @NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull T8, @NonNull R>
@NonNull Single<R> Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull SingleSource<? extends @NonNull T4> source4, @NonNull SingleSource<? extends @NonNull T5> source5, @NonNull SingleSource<? extends @NonNull T6> source6, @NonNull SingleSource<? extends @NonNull T7> source7, @NonNull SingleSource<? extends @NonNull T8> source8, @NonNull Function8<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? super @NonNull T8, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to eight items emitted by eight otherSingleSources.static <@NonNull T1, @NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull T7, @NonNull R>
@NonNull Single<R> Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull SingleSource<? extends @NonNull T4> source4, @NonNull SingleSource<? extends @NonNull T5> source5, @NonNull SingleSource<? extends @NonNull T6> source6, @NonNull SingleSource<? extends @NonNull T7> source7, @NonNull Function7<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? super @NonNull T7, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to seven items emitted by seven otherSingleSources.static <@NonNull T1, @NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull T6, @NonNull R>
@NonNull Single<R> Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull SingleSource<? extends @NonNull T4> source4, @NonNull SingleSource<? extends @NonNull T5> source5, @NonNull SingleSource<? extends @NonNull T6> source6, @NonNull Function6<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? super @NonNull T6, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to six items emitted by six otherSingleSources.static <@NonNull T1, @NonNull T2, @NonNull T3, @NonNull T4, @NonNull T5, @NonNull R>
@NonNull Single<R> Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull SingleSource<? extends @NonNull T4> source4, @NonNull SingleSource<? extends @NonNull T5> source5, @NonNull Function5<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? super @NonNull T5, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to five items emitted by five otherSingleSources.Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull SingleSource<? extends @NonNull T4> source4, @NonNull Function4<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? super @NonNull T4, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to four items emitted by four otherSingleSources.Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull SingleSource<? extends @NonNull T3> source3, @NonNull Function3<? super @NonNull T1, ? super @NonNull T2, ? super @NonNull T3, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to three items emitted by three otherSingleSources.Single.zip(@NonNull SingleSource<? extends @NonNull T1> source1, @NonNull SingleSource<? extends @NonNull T2> source2, @NonNull BiFunction<? super @NonNull T1, ? super @NonNull T2, ? extends @NonNull R> zipper) Returns aSinglethat emits the results of a specified combiner function applied to two items emitted by two otherSingleSources.Single.zipArray(@NonNull Function<? super Object[], ? extends @NonNull R> zipper, @NonNull SingleSource<? extends @NonNull T>... sources) Waits until allSingleSourcesources provided via an array signal a success value and calls a zipper function with an array of these values to return a result to be emitted to downstream.Single.zipWith(@NonNull SingleSource<@NonNull U> other, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> zipper) Returns aSinglethat emits the result of applying a specified function to the pair of items emitted by the currentSingleand another specifiedSingleSource.Method parameters in io.reactivex.rxjava3.core with type arguments of type SingleSourceModifier and TypeMethodDescriptionRuns multipleSingleSources and signals the events of the first one that signals (disposing the rest).static <@NonNull T>
@NonNull Observable<T> Single.concat(@NonNull ObservableSource<? extends SingleSource<? extends @NonNull T>> sources) Concatenate the single values, in a non-overlapping fashion, of theSingleSources provided by anObservableSourcesequence.Concatenate the single values, in a non-overlapping fashion, of theSingleSources provided by anIterablesequence.Single.concat(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenate the single values, in a non-overlapping fashion, of theSingleSources provided by aPublishersequence.Single.concat(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, int prefetch) Concatenate the single values, in a non-overlapping fashion, of theSingleSources provided by aPublishersequence and prefetched by the specified amount.Single.concatDelayError(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenates theIterablesequence ofSingleSources into a single sequence by subscribing to eachSingleSource, one after the other, one at a time and delays any errors till the all innerSingleSources terminate as aFlowablesequence.Single.concatDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenates thePublishersequence ofSingleSources into a single sequence by subscribing to each innerSingleSource, one after the other, one at a time and delays any errors till the all inner and the outerPublisherterminate as aFlowablesequence.Single.concatDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, int prefetch) Concatenates thePublishersequence ofSingleSources into a single sequence by subscribing to each innerSingleSource, one after the other, one at a time and delays any errors till the all inner and the outerPublisherterminate as aFlowablesequence.Single.concatEager(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenates anIterablesequence ofSingleSources eagerly into a single stream of values.Single.concatEager(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, int maxConcurrency) Concatenates anIterablesequence ofSingleSources eagerly into a single stream of values and runs a limited number of the inner sources at once.Single.concatEager(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenates aPublishersequence ofSingleSources eagerly into a single stream of values.Single.concatEager(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, int maxConcurrency) Concatenates aPublishersequence ofSingleSources eagerly into a single stream of values and runs a limited number of those innerSingleSources at once.Single.concatEagerDelayError(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenates anIterablesequence ofSingleSources eagerly into a single stream of values, delaying errors until all the inner sources terminate.Single.concatEagerDelayError(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, int maxConcurrency) Concatenates anIterablesequence ofSingleSources eagerly into a single stream of values, delaying errors until all the inner sources terminate.Single.concatEagerDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Concatenates aPublishersequence ofSingleSources eagerly into a single stream of values, delaying errors until all the inner and the outer sequence terminate.Single.concatEagerDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, int maxConcurrency) Concatenates aPublishersequence ofSingleSources eagerly into a single stream of values, running at most the specified number of those innerSingleSources at once and delaying errors until all the inner and the outer sequence terminate.Single.concatMap(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Returns aSinglethat is based on applying a specified function to the item emitted by the currentSingle, where that function returns aSingleSource.Flowable.concatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds, emits their success values or terminates immediately if either thisFlowableor the current innerSingleSourcefail.Flowable.concatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, int prefetch) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds, emits their success values or terminates immediately if either thisFlowableor the current innerSingleSourcefail.Maybe.concatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Returns aMaybebased on applying a specified function to the item emitted by the currentMaybe, where that function returns aSingle.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds, emits their success values or terminates immediately if either the currentObservableor the current innerSingleSourcefail.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, int bufferSize) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds, emits their success values or terminates immediately if either the currentObservableor the current innerSingleSourcefail.Flowable.concatMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds or fails, emits their success values and delays all errors till both thisFlowableand all innerSingleSources terminate.Flowable.concatMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, boolean tillTheEnd) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds or fails, emits their success values and optionally delays all errors till both thisFlowableand all innerSingleSources terminate.Flowable.concatMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, boolean tillTheEnd, int prefetch) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds or fails, emits their success values and optionally delays errors till both thisFlowableand all innerSingleSources terminate.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds or fails, emits their success values and delays all errors till both the currentObservableand all innerSingleSources terminate.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, boolean tillTheEnd) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds or fails, emits their success values and optionally delays all errors till both the currentObservableand all innerSingleSources terminate.final <@NonNull R>
@NonNull Observable<R> Observable.concatMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, boolean tillTheEnd, int bufferSize) Maps the upstream items intoSingleSources and subscribes to them one after the other succeeds or fails, emits their success values and optionally delays errors till both the currentObservableand all innerSingleSources terminate.Calls aSupplierfor each individualSingleObserverto return the actualSingleSourceto be subscribed to.Single.flatMap(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Returns aSinglethat is based on applying a specified function to the item emitted by the currentSingle, where that function returns aSingleSource.Single.flatMap(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> onSuccessMapper, @NonNull Function<? super Throwable, ? extends SingleSource<? extends @NonNull R>> onErrorMapper) Maps theonSuccessoronErrorsignals of the currentSingleinto aSingleSourceand emits thatSingleSource's signals.Single.flatMap(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull U>> mapper, @NonNull BiFunction<? super @NonNull T, ? super @NonNull U, ? extends @NonNull R> combiner) Returns aSinglethat emits the results of a specified function to the pair of values emitted by the currentSingleand a specified mappedSingleSource.Flowable.flatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps each element of the upstreamFlowableintoSingleSources, subscribes to all of them and merges theironSuccessvalues, in no particular order, into a singleFlowablesequence.Flowable.flatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, boolean delayErrors, int maxConcurrency) Maps each element of the upstreamFlowableintoSingleSources, subscribes to at mostmaxConcurrencySingleSources at a time and merges theironSuccessvalues, in no particular order, into a singleFlowablesequence, optionally delaying all errors.Maybe.flatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Returns aMaybebased on applying a specified function to the item emitted by the currentMaybe, where that function returns aSingle.final <@NonNull R>
@NonNull Observable<R> Observable.flatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps each element of the currentObservableintoSingleSources, subscribes to all of them and merges theironSuccessvalues, in no particular order, into a singleObservablesequence.final <@NonNull R>
@NonNull Observable<R> Observable.flatMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper, boolean delayErrors) Maps each element of the currentObservableintoSingleSources, subscribes to them and merges theironSuccessvalues, in no particular order, into a singleObservablesequence, optionally delaying all errors.Single.merge(@NonNull SingleSource<? extends SingleSource<? extends @NonNull T>> source) Flattens aSingleSourcethat emits aSingleSingleinto a singleSinglethat emits the item emitted by the nestedSingleSource, without any transformation.Merges anIterablesequence ofSingleSourceinstances into a singleFlowablesequence, running allSingleSources at once.Single.merge(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Merges a sequence ofSingleSourceinstances emitted by aPublisherinto a singleFlowablesequence, running allSingleSources at once.Single.mergeDelayError(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Merges anIterablesequence ofSingleSourceinstances into oneFlowablesequence, running allSingleSources at once and delaying any error(s) until all sources succeed or fail.Single.mergeDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Merges a sequence ofSingleSourceinstances emitted by aPublisherinto aFlowablesequence, running allSingleSources at once and delaying any error(s) until all sources succeed or fail.Single.onErrorResumeNext(@NonNull Function<? super Throwable, ? extends SingleSource<? extends @NonNull T>> fallbackSupplier) Resumes the flow with aSingleSourcereturned for the failureThrowableof the currentSingleby a function instead of signaling the error viaonError.Flowable.switchMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps the upstream items intoSingleSources and switches (subscribes) to the newer ones while disposing the older ones (and ignoring their signals) and emits the latest success value of the current one while failing immediately if thisFlowableor any of the active innerSingleSources fail.final <@NonNull R>
@NonNull Observable<R> Observable.switchMapSingle(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Returns a newObservableby applying a function that you supply to each item emitted by the currentObservablethat returns aSingleSource, and then emitting the item emitted by the most recently emitted of theseSingleSources.Flowable.switchMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Maps the upstream items intoSingleSources and switches (subscribes) to the newer ones while disposing the older ones (and ignoring their signals) and emits the latest success value of the current one, delaying errors from thisFlowableor the innerSingleSources until all terminate.final <@NonNull R>
@NonNull Observable<R> Observable.switchMapSingleDelayError(@NonNull Function<? super @NonNull T, ? extends SingleSource<? extends @NonNull R>> mapper) Returns a newObservableby applying a function that you supply to each item emitted by the currentObservablethat returns aSingleSource, and then emitting the item emitted by the most recently emitted of theseSingleSources and delays any error until allSingleSources terminate.Single.switchOnNext(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Switches betweenSingleSources emitted by the sourcePublisherwhenever a newSingleSourceis emitted, disposing the previously runningSingleSource, exposing the success items as aFlowablesequence.Single.switchOnNextDelayError(@NonNull org.reactivestreams.Publisher<@NonNull ? extends SingleSource<? extends @NonNull T>> sources) Switches betweenSingleSources emitted by the sourcePublisherwhenever a newSingleSourceis emitted, disposing the previously runningSingleSource, exposing the success items as aFlowablesequence and delaying all errors from all of them until all terminate.Single.using(@NonNull Supplier<@NonNull U> resourceSupplier, @NonNull Function<? super @NonNull U, ? extends SingleSource<? extends @NonNull T>> sourceSupplier, @NonNull Consumer<? super @NonNull U> resourceCleanup) Allows using and disposing a resource while running aSingleSourceinstance generated from that resource (similar to a try-with-resources).Single.using(@NonNull Supplier<@NonNull U> resourceSupplier, @NonNull Function<? super @NonNull U, ? extends SingleSource<? extends @NonNull T>> sourceSupplier, @NonNull Consumer<? super @NonNull U> resourceCleanup, boolean eager) Allows using and disposing a resource while running aSingleSourceinstance generated from that resource (similar to a try-with-resources).Single.zip(@NonNull Iterable<@NonNull ? extends SingleSource<? extends @NonNull T>> sources, @NonNull Function<? super Object[], ? extends @NonNull R> zipper) Waits until allSingleSourcesources provided by theIterablesequence signal a success value and calls a zipper function with an array of these values to return a result to be emitted to the downstream. -
Uses of SingleSource in io.reactivex.rxjava3.internal.fuseable
Methods in io.reactivex.rxjava3.internal.fuseable that return SingleSourceModifier and TypeMethodDescriptionHasUpstreamSingleSource.source()Returns the upstream source of this Single. -
Uses of SingleSource in io.reactivex.rxjava3.internal.jdk8
Classes in io.reactivex.rxjava3.internal.jdk8 that implement SingleSource -
Uses of SingleSource in io.reactivex.rxjava3.internal.operators.completable
Classes in io.reactivex.rxjava3.internal.operators.completable that implement SingleSourceModifier and TypeClassDescriptionfinal classTurn the signal types of a Completable source into a single Notification of equal kind.final classFields in io.reactivex.rxjava3.internal.operators.completable declared as SingleSourceModifier and TypeFieldDescription(package private) final SingleSource<T> CompletableFromSingle.singleConstructors in io.reactivex.rxjava3.internal.operators.completable with parameters of type SingleSource -
Uses of SingleSource in io.reactivex.rxjava3.internal.operators.flowable
Classes in io.reactivex.rxjava3.internal.operators.flowable that implement SingleSourceModifier and TypeClassDescriptionfinal classfinal classfinal classfinal classfinal classfinal classConsumes the source Publisher and emits its last item or the defaultItem if empty.final classReduce a sequence of values, starting from a seed value and by using an accumulator function and return the last accumulated value.final classReduce a sequence of values, starting from a generated seed value and by using an accumulator function and return the last accumulated value.final classfinal classfinal classFlowableToListSingle<T, U extends Collection<? super T>>Fields in io.reactivex.rxjava3.internal.operators.flowable declared as SingleSourceModifier and TypeFieldDescription(package private) SingleSource<? extends T> FlowableConcatWithSingle.ConcatWithSubscriber.other(package private) final SingleSource<? extends T> FlowableConcatWithSingle.other(package private) final SingleSource<? extends T> FlowableMergeWithSingle.otherFields in io.reactivex.rxjava3.internal.operators.flowable with type parameters of type SingleSourceModifier and TypeFieldDescription(package private) final Function<? super T, ? extends SingleSource<? extends R>> FlowableFlatMapSingle.FlatMapSingleSubscriber.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> FlowableFlatMapSingle.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> FlowableFlatMapSinglePublisher.mapperConstructors in io.reactivex.rxjava3.internal.operators.flowable with parameters of type SingleSourceModifierConstructorDescription(package private)ConcatWithSubscriber(org.reactivestreams.Subscriber<? super T> actual, SingleSource<? extends T> other) FlowableConcatWithSingle(Flowable<T> source, SingleSource<? extends T> other) FlowableMergeWithSingle(Flowable<T> source, SingleSource<? extends T> other) Constructor parameters in io.reactivex.rxjava3.internal.operators.flowable with type arguments of type SingleSourceModifierConstructorDescription(package private)FlatMapSingleSubscriber(org.reactivestreams.Subscriber<? super R> actual, Function<? super T, ? extends SingleSource<? extends R>> mapper, boolean delayErrors, int maxConcurrency) FlowableFlatMapSingle(Flowable<T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper, boolean delayError, int maxConcurrency) FlowableFlatMapSinglePublisher(org.reactivestreams.Publisher<T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper, boolean delayError, int maxConcurrency) -
Uses of SingleSource in io.reactivex.rxjava3.internal.operators.maybe
Classes in io.reactivex.rxjava3.internal.operators.maybe that implement SingleSourceModifier and TypeClassDescriptionfinal classSignals true if the source signals a value that is object-equals with the provided value, false otherwise or for empty sources.final classMaybeCount<T>Signals 1L if the source signalled an item or 0L if the source is empty.final classCompares two MaybeSources to see if they are both empty or emit the same value compared via a BiPredicate.final classSignals true if the source Maybe signals onComplete, signals false if the source Maybe signals onSuccess.final classTurn the signal types of a Maybe source into a single Notification of equal kind.final classSubscribes to the other source if the main source is empty.final classWraps a MaybeSource and exposes its onSuccess and onError signals and signals NoSuchElementException for onComplete ifdefaultValueis null.Fields in io.reactivex.rxjava3.internal.operators.maybe declared as SingleSourceModifier and TypeFieldDescription(package private) final SingleSource<? extends T> MaybeSwitchIfEmptySingle.other(package private) final SingleSource<? extends T> MaybeSwitchIfEmptySingle.SwitchIfEmptyMaybeObserver.other(package private) final SingleSource<T> MaybeFilterSingle.source(package private) final SingleSource<T> MaybeFromSingle.sourceFields in io.reactivex.rxjava3.internal.operators.maybe with type parameters of type SingleSourceModifier and TypeFieldDescription(package private) final Function<? super T, ? extends SingleSource<? extends R>> MaybeFlatMapSingle.FlatMapMaybeObserver.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> MaybeFlatMapSingle.mapperMethods in io.reactivex.rxjava3.internal.operators.maybe that return SingleSourceConstructors in io.reactivex.rxjava3.internal.operators.maybe with parameters of type SingleSourceModifierConstructorDescriptionMaybeFilterSingle(SingleSource<T> source, Predicate<? super T> predicate) MaybeFromSingle(SingleSource<T> source) MaybeSwitchIfEmptySingle(MaybeSource<T> source, SingleSource<? extends T> other) (package private)SwitchIfEmptyMaybeObserver(SingleObserver<? super T> actual, SingleSource<? extends T> other) Constructor parameters in io.reactivex.rxjava3.internal.operators.maybe with type arguments of type SingleSourceModifierConstructorDescription(package private)FlatMapMaybeObserver(MaybeObserver<? super R> actual, Function<? super T, ? extends SingleSource<? extends R>> mapper) MaybeFlatMapSingle(MaybeSource<T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper) -
Uses of SingleSource in io.reactivex.rxjava3.internal.operators.mixed
Fields in io.reactivex.rxjava3.internal.operators.mixed declared as SingleSourceModifier and TypeFieldDescription(package private) final SingleSource<T> SingleFlatMapObservable.sourceFields in io.reactivex.rxjava3.internal.operators.mixed with type parameters of type SingleSourceModifier and TypeFieldDescription(package private) final Function<? super T, ? extends SingleSource<? extends R>> FlowableConcatMapSingle.ConcatMapSingleSubscriber.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> FlowableConcatMapSingle.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> FlowableConcatMapSinglePublisher.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> FlowableSwitchMapSingle.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> FlowableSwitchMapSingle.SwitchMapSingleSubscriber.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> FlowableSwitchMapSinglePublisher.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> ObservableConcatMapSingle.ConcatMapSingleMainObserver.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> ObservableConcatMapSingle.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> ObservableSwitchMapSingle.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> ObservableSwitchMapSingle.SwitchMapSingleMainObserver.mapperMethod parameters in io.reactivex.rxjava3.internal.operators.mixed with type arguments of type SingleSourceModifier and TypeMethodDescription(package private) static <T,R> boolean ScalarXMapZHelper.tryAsSingle(Object source, Function<? super T, ? extends SingleSource<? extends R>> mapper, Observer<? super R> observer) Try subscribing to aSingleSourcemapped from a scalar source (which implementsSupplier).Constructors in io.reactivex.rxjava3.internal.operators.mixed with parameters of type SingleSourceModifierConstructorDescriptionSingleFlatMapObservable(SingleSource<T> source, Function<? super T, ? extends ObservableSource<? extends R>> mapper) Constructor parameters in io.reactivex.rxjava3.internal.operators.mixed with type arguments of type SingleSourceModifierConstructorDescription(package private)ConcatMapSingleMainObserver(Observer<? super R> downstream, Function<? super T, ? extends SingleSource<? extends R>> mapper, int prefetch, ErrorMode errorMode) (package private)ConcatMapSingleSubscriber(org.reactivestreams.Subscriber<? super R> downstream, Function<? super T, ? extends SingleSource<? extends R>> mapper, int prefetch, ErrorMode errorMode) FlowableConcatMapSingle(Flowable<T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper, ErrorMode errorMode, int prefetch) FlowableConcatMapSinglePublisher(org.reactivestreams.Publisher<T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper, ErrorMode errorMode, int prefetch) FlowableSwitchMapSingle(Flowable<T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper, boolean delayErrors) FlowableSwitchMapSinglePublisher(org.reactivestreams.Publisher<T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper, boolean delayErrors) ObservableConcatMapSingle(ObservableSource<T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper, ErrorMode errorMode, int prefetch) ObservableSwitchMapSingle(Observable<T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper, boolean delayErrors) (package private)SwitchMapSingleMainObserver(Observer<? super R> downstream, Function<? super T, ? extends SingleSource<? extends R>> mapper, boolean delayErrors) (package private)SwitchMapSingleSubscriber(org.reactivestreams.Subscriber<? super R> downstream, Function<? super T, ? extends SingleSource<? extends R>> mapper, boolean delayErrors) -
Uses of SingleSource in io.reactivex.rxjava3.internal.operators.observable
Classes in io.reactivex.rxjava3.internal.operators.observable that implement SingleSourceModifier and TypeClassDescriptionfinal classfinal classfinal classfinal classfinal classfinal classConsumes the source ObservableSource and emits its last item, the defaultItem if empty or a NoSuchElementException if even the defaultItem is null.final classReduce a sequence of values, starting from a seed value and by using an accumulator function and return the last accumulated value.final classReduce a sequence of values, starting from a generated seed value and by using an accumulator function and return the last accumulated value.final classfinal classfinal classObservableToListSingle<T, U extends Collection<? super T>>Fields in io.reactivex.rxjava3.internal.operators.observable declared as SingleSourceModifier and TypeFieldDescription(package private) SingleSource<? extends T> ObservableConcatWithSingle.ConcatWithObserver.other(package private) final SingleSource<? extends T> ObservableConcatWithSingle.other(package private) final SingleSource<? extends T> ObservableMergeWithSingle.otherFields in io.reactivex.rxjava3.internal.operators.observable with type parameters of type SingleSourceModifier and TypeFieldDescription(package private) final Function<? super T, ? extends SingleSource<? extends R>> ObservableFlatMapSingle.FlatMapSingleObserver.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> ObservableFlatMapSingle.mapperConstructors in io.reactivex.rxjava3.internal.operators.observable with parameters of type SingleSourceModifierConstructorDescription(package private)ConcatWithObserver(Observer<? super T> actual, SingleSource<? extends T> other) ObservableConcatWithSingle(Observable<T> source, SingleSource<? extends T> other) ObservableMergeWithSingle(Observable<T> source, SingleSource<? extends T> other) Constructor parameters in io.reactivex.rxjava3.internal.operators.observable with type arguments of type SingleSourceModifierConstructorDescription(package private)FlatMapSingleObserver(Observer<? super R> actual, Function<? super T, ? extends SingleSource<? extends R>> mapper, boolean delayErrors) ObservableFlatMapSingle(ObservableSource<T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper, boolean delayError) -
Uses of SingleSource in io.reactivex.rxjava3.internal.operators.single
Classes in io.reactivex.rxjava3.internal.operators.single that implement SingleSourceModifier and TypeClassDescriptionfinal classSingleAmb<T>final classSingleCache<T>final classfinal classSingleCreate<T>final classSingleDefer<T>final classSingleDelay<T>final classfinal classfinal classfinal classfinal classSingleDetach<T>Breaks the references between the upstream and downstream when the Maybe terminates.final classCalls a consumer after pushing the current item to the downstream.final classCalls an action after pushing the current item or an error to the downstream.final classExecute an action after an onSuccess, onError or a dispose event.final classfinal classfinal classfinal classInvokes callbacks upononSubscribefrom upstream anddisposefrom downstream.final classCalls a callback when the upstream calls onSubscribe with a disposable.final classfinal classfinal classSingleEquals<T>final classSingleError<T>final classSingleFlatMap<T,R> final classSingleFlatMapBiSelector<T,U, R> Maps a source item to another SingleSource then calls a BiFunction with the original item and the secondary item to generate the final result.final classMaps a value into a SingleSource and relays its signal.final classfinal classfinal classCalls a supplier and emits its value or exception to the incoming SingleObserver.final classfinal classSingleHide<T>final classSingleJust<T>final classSingleLift<T,R> final classSingleMap<T,R> final classTurn the signal types of a Single source into a single Notification of equal kind.final classfinal classfinal classfinal classfinal classfinal classSingleTakeUntil<T,U> Signals the events of the source Single or signals a CancellationException if the other Publisher signalled first.final classMeasures the time between subscription and the success item emission from the upstream and emits this as aTimedsuccess value.final classfinal classSignals a0Lafter the specified delay.final classMakes sure a dispose() call from downstream happens on the specified scheduler.final classSingleUsing<T,U> final classSingleZipArray<T,R> final classSingleZipIterable<T,R> Classes in io.reactivex.rxjava3.internal.operators.single that implement interfaces with type arguments of type SingleSourceFields in io.reactivex.rxjava3.internal.operators.single declared as SingleSourceModifier and TypeFieldDescription(package private) final SingleSource<? extends T> SingleEquals.first(package private) final SingleSource<U> SingleDelayWithSingle.other(package private) final SingleSource<? extends T> SingleTimeout.other(package private) SingleSource<? extends T> SingleTimeout.TimeoutMainObserver.other(package private) final SingleSource<? extends T> SingleEquals.second(package private) final SingleSource<? extends T> SingleCache.source(package private) final SingleSource<T> SingleContains.source(package private) final SingleSource<? extends T> SingleDelay.source(package private) final SingleSource<T> SingleDelayWithCompletable.OtherObserver.source(package private) final SingleSource<T> SingleDelayWithCompletable.source(package private) final SingleSource<T> SingleDelayWithObservable.OtherSubscriber.source(package private) final SingleSource<T> SingleDelayWithObservable.source(package private) final SingleSource<T> SingleDelayWithPublisher.OtherSubscriber.source(package private) final SingleSource<T> SingleDelayWithPublisher.source(package private) final SingleSource<T> SingleDelayWithSingle.OtherObserver.source(package private) final SingleSource<T> SingleDelayWithSingle.source(package private) final SingleSource<T> SingleDetach.source(package private) final SingleSource<T> SingleDoAfterSuccess.source(package private) final SingleSource<T> SingleDoAfterTerminate.source(package private) final SingleSource<T> SingleDoFinally.source(package private) final SingleSource<T> SingleDoOnDispose.source(package private) final SingleSource<T> SingleDoOnError.source(package private) final SingleSource<T> SingleDoOnEvent.source(package private) final SingleSource<T> SingleDoOnSubscribe.source(package private) final SingleSource<T> SingleDoOnSuccess.source(package private) final SingleSource<T> SingleDoOnTerminate.source(package private) final SingleSource<? extends T> SingleFlatMap.source(package private) final SingleSource<T> SingleFlatMapBiSelector.source(package private) final SingleSource<T> SingleFlatMapCompletable.source(package private) final SingleSource<T> SingleFlatMapIterableFlowable.source(package private) final SingleSource<T> SingleFlatMapIterableObservable.source(package private) final SingleSource<? extends T> SingleFlatMapMaybe.source(package private) final SingleSource<T> SingleFlatMapNotification.source(package private) final SingleSource<T> SingleFlatMapPublisher.source(package private) final SingleSource<T> SingleFromUnsafeSource.source(package private) final SingleSource<? extends T> SingleHide.source(package private) final SingleSource<T> SingleLift.source(package private) final SingleSource<? extends T> SingleMap.source(package private) final SingleSource<T> SingleObserveOn.source(package private) final SingleSource<? extends T> SingleOnErrorReturn.source(package private) final SingleSource<? extends T> SingleResumeNext.source(package private) final SingleSource<? extends T> SingleSubscribeOn.source(package private) final SingleSource<? extends T> SingleSubscribeOn.SubscribeOnObserver.source(package private) final SingleSource<T> SingleTakeUntil.source(package private) final SingleSource<T> SingleTimeInterval.source(package private) final SingleSource<T> SingleTimeout.source(package private) final SingleSource<? extends T> SingleToFlowable.source(package private) final SingleSource<? extends T> SingleToObservable.source(package private) final SingleSource<T> SingleUnsubscribeOn.sourceprivate final SingleSource<? extends T>[]SingleAmb.sources(package private) final SingleSource<? extends T>[]SingleZipArray.sourcesFields in io.reactivex.rxjava3.internal.operators.single with type parameters of type SingleSourceModifier and TypeFieldDescription(package private) final Function<? super T, ? extends SingleSource<? extends R>> SingleFlatMap.mapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> SingleFlatMap.SingleFlatMapCallback.mapper(package private) final Function<? super T, ? extends SingleSource<? extends U>> SingleFlatMapBiSelector.FlatMapBiMainObserver.mapper(package private) final Function<? super T, ? extends SingleSource<? extends U>> SingleFlatMapBiSelector.mapper(package private) final Function<? super Throwable, ? extends SingleSource<? extends T>> SingleResumeNext.nextFunction(package private) final Function<? super Throwable, ? extends SingleSource<? extends T>> SingleResumeNext.ResumeMainSingleObserver.nextFunction(package private) final Function<? super Throwable, ? extends SingleSource<? extends R>> SingleFlatMapNotification.FlatMapSingleObserver.onErrorMapper(package private) final Function<? super Throwable, ? extends SingleSource<? extends R>> SingleFlatMapNotification.onErrorMapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> SingleFlatMapNotification.FlatMapSingleObserver.onSuccessMapper(package private) final Function<? super T, ? extends SingleSource<? extends R>> SingleFlatMapNotification.onSuccessMapper(package private) final Function<? super U, ? extends SingleSource<? extends T>> SingleUsing.singleFunction(package private) final Supplier<? extends SingleSource<? extends T>> SingleDefer.singleSupplierprivate final Iterator<? extends SingleSource<? extends T>> SingleInternalHelper.ToFlowableIterator.sitprivate final Iterable<? extends SingleSource<? extends T>> SingleInternalHelper.ToFlowableIterable.sources(package private) final Iterable<? extends SingleSource<? extends T>> SingleZipIterable.sourcesprivate final Iterable<? extends SingleSource<? extends T>> SingleAmb.sourcesIterableMethods in io.reactivex.rxjava3.internal.operators.single that return types with arguments of type SingleSourceModifier and TypeMethodDescriptionstatic <T> Function<SingleSource<? extends T>, org.reactivestreams.Publisher<? extends T>> SingleInternalHelper.toFlowable()Methods in io.reactivex.rxjava3.internal.operators.single with parameters of type SingleSourceModifier and TypeMethodDescriptionorg.reactivestreams.PublisherSingleInternalHelper.ToFlowable.apply(SingleSource v) Method parameters in io.reactivex.rxjava3.internal.operators.single with type arguments of type SingleSourceModifier and TypeMethodDescriptionSingleInternalHelper.iterableToFlowable(Iterable<? extends SingleSource<? extends T>> sources) Constructors in io.reactivex.rxjava3.internal.operators.single with parameters of type SingleSourceModifierConstructorDescription(package private)OtherObserver(SingleObserver<? super T> actual, SingleSource<T> source) (package private)OtherObserver(SingleObserver<? super T> actual, SingleSource<T> source) (package private)OtherSubscriber(SingleObserver<? super T> actual, SingleSource<T> source) (package private)OtherSubscriber(SingleObserver<? super T> actual, SingleSource<T> source) SingleAmb(SingleSource<? extends T>[] sources, Iterable<? extends SingleSource<? extends T>> sourcesIterable) SingleCache(SingleSource<? extends T> source) SingleContains(SingleSource<T> source, Object value, BiPredicate<Object, Object> comparer) SingleDelay(SingleSource<? extends T> source, long time, TimeUnit unit, Scheduler scheduler, boolean delayError) SingleDelayWithCompletable(SingleSource<T> source, CompletableSource other) SingleDelayWithObservable(SingleSource<T> source, ObservableSource<U> other) SingleDelayWithPublisher(SingleSource<T> source, org.reactivestreams.Publisher<U> other) SingleDelayWithSingle(SingleSource<T> source, SingleSource<U> other) SingleDetach(SingleSource<T> source) SingleDoAfterSuccess(SingleSource<T> source, Consumer<? super T> onAfterSuccess) SingleDoAfterTerminate(SingleSource<T> source, Action onAfterTerminate) SingleDoFinally(SingleSource<T> source, Action onFinally) SingleDoOnDispose(SingleSource<T> source, Action onDispose) SingleDoOnError(SingleSource<T> source, Consumer<? super Throwable> onError) SingleDoOnEvent(SingleSource<T> source, BiConsumer<? super T, ? super Throwable> onEvent) SingleDoOnSubscribe(SingleSource<T> source, Consumer<? super Disposable> onSubscribe) SingleDoOnSuccess(SingleSource<T> source, Consumer<? super T> onSuccess) SingleDoOnTerminate(SingleSource<T> source, Action onTerminate) SingleEquals(SingleSource<? extends T> first, SingleSource<? extends T> second) SingleFlatMap(SingleSource<? extends T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper) SingleFlatMapBiSelector(SingleSource<T> source, Function<? super T, ? extends SingleSource<? extends U>> mapper, BiFunction<? super T, ? super U, ? extends R> resultSelector) SingleFlatMapCompletable(SingleSource<T> source, Function<? super T, ? extends CompletableSource> mapper) SingleFlatMapIterableFlowable(SingleSource<T> source, Function<? super T, ? extends Iterable<? extends R>> mapper) SingleFlatMapIterableObservable(SingleSource<T> source, Function<? super T, ? extends Iterable<? extends R>> mapper) SingleFlatMapMaybe(SingleSource<? extends T> source, Function<? super T, ? extends MaybeSource<? extends R>> mapper) SingleFlatMapNotification(SingleSource<T> source, Function<? super T, ? extends SingleSource<? extends R>> onSuccessMapper, Function<? super Throwable, ? extends SingleSource<? extends R>> onErrorMapper) SingleFlatMapPublisher(SingleSource<T> source, Function<? super T, ? extends org.reactivestreams.Publisher<? extends R>> mapper) SingleFromUnsafeSource(SingleSource<T> source) SingleHide(SingleSource<? extends T> source) SingleLift(SingleSource<T> source, SingleOperator<? extends R, ? super T> onLift) SingleObserveOn(SingleSource<T> source, Scheduler scheduler) SingleOnErrorReturn(SingleSource<? extends T> source, Function<? super Throwable, ? extends T> valueSupplier, T value) SingleResumeNext(SingleSource<? extends T> source, Function<? super Throwable, ? extends SingleSource<? extends T>> nextFunction) SingleSubscribeOn(SingleSource<? extends T> source, Scheduler scheduler) SingleTakeUntil(SingleSource<T> source, org.reactivestreams.Publisher<U> other) SingleTimeInterval(SingleSource<T> source, TimeUnit unit, Scheduler scheduler, boolean start) SingleTimeout(SingleSource<T> source, long timeout, TimeUnit unit, Scheduler scheduler, SingleSource<? extends T> other) SingleToFlowable(SingleSource<? extends T> source) SingleToObservable(SingleSource<? extends T> source) SingleUnsubscribeOn(SingleSource<T> source, Scheduler scheduler) SingleZipArray(SingleSource<? extends T>[] sources, Function<? super Object[], ? extends R> zipper) (package private)SubscribeOnObserver(SingleObserver<? super T> actual, SingleSource<? extends T> source) (package private)TimeoutMainObserver(SingleObserver<? super T> actual, SingleSource<? extends T> other, long timeout, TimeUnit unit) Constructor parameters in io.reactivex.rxjava3.internal.operators.single with type arguments of type SingleSourceModifierConstructorDescription(package private)FlatMapBiMainObserver(SingleObserver<? super R> actual, Function<? super T, ? extends SingleSource<? extends U>> mapper, BiFunction<? super T, ? super U, ? extends R> resultSelector) (package private)FlatMapSingleObserver(SingleObserver<? super R> actual, Function<? super T, ? extends SingleSource<? extends R>> onSuccessMapper, Function<? super Throwable, ? extends SingleSource<? extends R>> onErrorMapper) (package private)ResumeMainSingleObserver(SingleObserver<? super T> actual, Function<? super Throwable, ? extends SingleSource<? extends T>> nextFunction) SingleAmb(SingleSource<? extends T>[] sources, Iterable<? extends SingleSource<? extends T>> sourcesIterable) SingleDefer(Supplier<? extends SingleSource<? extends T>> singleSupplier) SingleFlatMap(SingleSource<? extends T> source, Function<? super T, ? extends SingleSource<? extends R>> mapper) SingleFlatMapBiSelector(SingleSource<T> source, Function<? super T, ? extends SingleSource<? extends U>> mapper, BiFunction<? super T, ? super U, ? extends R> resultSelector) (package private)SingleFlatMapCallback(SingleObserver<? super R> actual, Function<? super T, ? extends SingleSource<? extends R>> mapper) SingleFlatMapNotification(SingleSource<T> source, Function<? super T, ? extends SingleSource<? extends R>> onSuccessMapper, Function<? super Throwable, ? extends SingleSource<? extends R>> onErrorMapper) SingleResumeNext(SingleSource<? extends T> source, Function<? super Throwable, ? extends SingleSource<? extends T>> nextFunction) SingleUsing(Supplier<U> resourceSupplier, Function<? super U, ? extends SingleSource<? extends T>> singleFunction, Consumer<? super U> disposer, boolean eager) SingleZipIterable(Iterable<? extends SingleSource<? extends T>> sources, Function<? super Object[], ? extends R> zipper) (package private)ToFlowableIterable(Iterable<? extends SingleSource<? extends T>> sources) (package private)ToFlowableIterator(Iterator<? extends SingleSource<? extends T>> sit) -
Uses of SingleSource in io.reactivex.rxjava3.subjects
Classes in io.reactivex.rxjava3.subjects that implement SingleSourceModifier and TypeClassDescriptionfinal classRepresents a hot Single-like source and consumer of events similar to Subjects.