Top Description Methods
io.reactivex.rxjava3.core

public Interface SingleOperator<Downstream, Upstream>

Annotations
@FunctionalInterface
Type Parameters
<Downstream>
the value type of the downstream
<Upstream>
the value type of the upstream
Imports
io.reactivex.rxjava3.annotations.NonNull

Interface to map/wrap a downstream SingleObserver to an upstream SingleObserver.

Method Summary

Modifier and TypeMethod and Description
public @NonNull SingleObserver<? super Upstream>

Returns:

the parent SingleObserver instance
apply
(@NonNull SingleObserver<? super Downstream>
the child SingleObserver instance
observer
)

Applies a function to the child SingleObserver and returns a new parent SingleObserver.

Method Detail

applyback to summary
public @NonNull SingleObserver<? super Upstream> apply(@NonNull SingleObserver<? super Downstream> observer) throws Throwable

Applies a function to the child SingleObserver and returns a new parent SingleObserver.

Parameters
observer:@NonNull SingleObserver<? super Downstream>

the child SingleObserver instance

Returns:@NonNull SingleObserver<? super Upstream>

the parent SingleObserver instance

Annotations
@NonNull
Exceptions
Throwable:
on failure