Top Description Methods
io.reactivex

public Interface SingleOnSubscribe<T>

Type Parameters
<T>
the value type pushed
Imports
io.reactivex.annotations.*

A functional interface that has a subscribe() method that receives an instance of a SingleEmitter instance that allows pushing an event in a cancellation-safe manner.

Method Summary

Modifier and TypeMethod and Description
public void
subscribe(SingleEmitter<T>
the safe emitter instance, never null
emitter
)

Called for each SingleObserver that subscribes.

Method Detail

subscribeback to summary
public void subscribe(SingleEmitter<T> emitter) throws Exception

Called for each SingleObserver that subscribes.

Parameters
emitter:SingleEmitter<T>

the safe emitter instance, never null

Exceptions
Exception:
on error