Interface ObservableSource<T>
- Type Parameters:
T- the element type
- All Known Implementing Classes:
AsyncSubject, BehaviorSubject, ConnectableObservable, GroupedObservable, Observable, PublishSubject, ReplaySubject, Subject, UnicastSubject
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a basic, non-backpressured
Observable source base interface,
consumable via an Observer.- Since:
- 2.0
-
Method Summary
-
Method Details
-
subscribe
Subscribes the givenObserverto thisObservableSourceinstance.- Parameters:
observer- theObserver, notnull- Throws:
NullPointerException- ifobserverisnull
-