T - the element type@FunctionalInterface public interface ObservableSource<T>
Observable source base interface,
 consumable via an Observer.| Modifier and Type | Method and Description | 
|---|---|
| void | subscribe(@NonNull Observer<? super T> observer)Subscribes the given  Observerto thisObservableSourceinstance. | 
void subscribe(@NonNull @NonNull Observer<? super T> observer)
Observer to this ObservableSource instance.observer - the Observer, not nullNullPointerException - if observer is null