Top Description Methods
io.reactivex.rxjava3.core

public Interface ObservableSource<T>

Known Direct Implementers
io.reactivex.rxjava3.internal.operators.observable.ObservableReplay.ReplaySource, io.reactivex.rxjava3.internal.operators.observable.ObservableGroupBy.State, io.reactivex.rxjava3.core.Observable
Annotations
@FunctionalInterface
Type Parameters
<T>
the element type
Imports
io.reactivex.rxjava3.annotations.NonNull

Represents a basic, non-backpressured Observable source base interface, consumable via an Observer.
Since
2.0

Method Summary

Modifier and TypeMethod and Description
public void
subscribe(@NonNull Observer<? super T>
the Observer, not null
observer
)

Subscribes the given Observer to this ObservableSource instance.

Method Detail

subscribeback to summary
public void subscribe(@NonNull Observer<? super T> observer)

Subscribes the given Observer to this ObservableSource instance.

Parameters
observer:@NonNull Observer<? super T>

the Observer, not null

Exceptions
NullPointerException:
if observer is null