Observable (original) (raw)
- Type Parameters:
TResult
- the type of element signaled.
@Deprecated
public interface Observable
A Observable
represents a MongoDB operation.
As such it is a provider of a potentially unbounded number of sequenced elements, publishing them according to the demand received from its Observer(s).
See Also:
Observables
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods
Modifier and Type Method Description void subscribe(Observer<? super TResult> observer) Deprecated. Request Observable to start streaming data. Method Detail
* #### subscribe void subscribe([Observer](Observer.html "interface in com.mongodb.async.client")<? super [TResult](Observable.html "type parameter in Observable")> observer) Deprecated. Parameters: `observer` \- the [Observer](Observer.html "interface in com.mongodb.async.client") that will consume signals from this `Observable`