TResult- the type of element signaled.
public interface Observable<TResult>
Observablerepresents a MongoDB operation.
As such it is a provider of a potentially unbounded number of sequenced elements, publishing them according to the demand received
|Modifier and Type||Method||Description|
void subscribe(Observer<? super TResult> observer)
Observableto start streaming data.
This is a "factory method" and can be called multiple times, each time starting a new
Subscription will work for only a single
Observable rejects the subscription attempt or otherwise fails it will
signal the error via
Observerthat will consume signals from this