public interface

SingleOperator

io.reactivex.SingleOperator<Downstream, Upstream>

Class Overview

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

Summary

Public Methods
abstract SingleObserver<? super Upstream> apply(SingleObserver<? super Downstream> observer)
Applies a function to the child SingleObserver and returns a new parent SingleObserver.

Public Methods

public abstract SingleObserver<? super Upstream> apply (SingleObserver<? super Downstream> observer)

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

Parameters
observer the child SingleObserver instance
Returns
  • the parent SingleObserver instance
Throws
Exception on failure