Single

interface Single<T> : Subscribable<T>

A Subscribable implementation whereby only a single result is expected to be emitted to the subscriber.

Functions

Link copied to clipboard

Subscribes a handler for handling only the failure element of this Single.

Link copied to clipboard

Subscribes a handler for handling only the successful element of this Single.

Link copied to clipboard
abstract fun subscribe(observer: Observer<T>): Disposable

Subscribes the given observer to receive updates