core/com.tealium.prism.core.api.pubsub/Single Single interface Single<T> : Subscribable<T> A Subscribable implementation whereby only a single result is expected to be emitted to the subscriber. MembersMembers & Extensions Functions onFailure Link copied to clipboard fun <T : TealiumResult<R>, R> Single<T>.onFailure(handler: Callback<Exception>): DisposableSubscribes a handler for handling only the failure element of this Single. onSuccess Link copied to clipboard fun <T : TealiumResult<R>, R> Single<T>.onSuccess(handler: Callback<R>): DisposableSubscribes a handler for handling only the successful element of this Single. subscribe Link copied to clipboard abstract fun subscribe(observer: Observer<T>): DisposableSubscribes the given observer to receive updates