T - the value type pushedpublic interface ObservableOnSubscribe<T>
subscribe() method that receives
an instance of an ObservableEmitter instance that allows pushing
events in a cancellation-safe manner.| Modifier and Type | Method and Description |
|---|---|
void |
subscribe(ObservableEmitter<T> e)
Called for each Observer that subscribes.
|
void subscribe(ObservableEmitter<T> e) throws java.lang.Exception
e - the safe emitter instance, never nulljava.lang.Exception - on error