Returns the key associated with this grouped observable.
Characteristic function for an Observable
instance, that
creates the subscription and that eventually starts the streaming
of events to the given Observer, being meant to be overridden
in custom combinators or in classes implementing Observable.
Characteristic function for an Observable
instance, that
creates the subscription and that eventually starts the streaming
of events to the given Observer, being meant to be overridden
in custom combinators or in classes implementing Observable.
This function is "unsafe" to call because it does not protect the
calls to the given Observer implementation in regards to
unexpected exceptions that violate the contract, therefore the
given instance must respect its contract and not throw any
exceptions when the observable calls onNext
, onComplete
and
onError
. If it does, then the behavior is undefined.
Returns the first generated result as a Future and then cancels the subscription.
Returns the first generated result as a Future and then cancels the subscription.
Converts this observable into a multicast observable, useful for turning a cold observable into a hot one (i.e.
Converts this observable into a multicast observable, useful for turning a cold observable into a hot one (i.e. whose source is shared by all observers). The underlying subject used is a BehaviorSubject.
Subscribes to the source Observable
and foreach element emitted by the source
it executes the given callback.
Subscribes to the source Observable
and foreach element emitted by the source
it executes the given callback.
Converts this observable into a multicast observable, useful for turning a cold observable into a hot one (i.e.
Converts this observable into a multicast observable, useful for turning a cold observable into a hot one (i.e. whose source is shared by all observers).
Subscribes to the stream.
Subscribes to the stream.
This function is "unsafe" to call because it does not protect the
calls to the given Observer implementation in regards to
unexpected exceptions that violate the contract, therefore the
given instance must respect its contract and not throw any
exceptions when the observable calls onNext
, onComplete
and
onError
. If it does, then the behavior is undefined.
is an Observer that respects the Monifu Rx contract
is the Scheduler used for creating the subscription
Converts this observable into a multicast observable, useful for turning a cold observable into a hot one (i.e.
Converts this observable into a multicast observable, useful for turning a cold observable into a hot one (i.e. whose source is shared by all observers). The underlying subject used is a PublishSubject.
Converts this observable into a multicast observable, useful for turning a cold observable into a hot one (i.e.
Converts this observable into a multicast observable, useful for turning a cold observable into a hot one (i.e. whose source is shared by all observers). The underlying subject used is a AsyncSubject.
Converts this observable into a multicast observable, useful for turning a cold observable into a hot one (i.e.
Converts this observable into a multicast observable, useful for turning a cold observable into a hot one (i.e. whose source is shared by all observers). The underlying subject used is a ReplaySubject.
is the size of the buffer limiting the number of items that can be replayed (on overflow the head starts being dropped)
Converts this observable into a multicast observable, useful for turning a cold observable into a hot one (i.e.
Converts this observable into a multicast observable, useful for turning a cold observable into a hot one (i.e. whose source is shared by all observers). The underlying subject used is a ReplaySubject.
Returns a new Observable that multi-casts (shares) the original Observable.
Returns a new Observable that multi-casts (shares) the original Observable.
Subscribes to the stream.
Subscribes to the stream.
a subscription that can be used to cancel the streaming.
Subscribes to the stream.
Subscribes to the stream.
a subscription that can be used to cancel the streaming.
Subscribes to the stream.
Subscribes to the stream.
a subscription that can be used to cancel the streaming.
Subscribes to the stream.
Subscribes to the stream.
a subscription that can be used to cancel the streaming.
Subscribes to the stream.
Subscribes to the stream.
a subscription that can be used to cancel the streaming.
Subscribes to the stream.
Subscribes to the stream.
a subscription that can be used to cancel the streaming.
Wraps this Observable into a org.reactivestreams.Publisher
.
Wraps this Observable into a org.reactivestreams.Publisher
.
See the Reactive Streams
protocol that Monifu implements.
A
GroupedObservable
is an observable type generated byObservable.groupBy
. It has the following properties:- comes accompanied with a
key
property after which the grouping was made- supports a single subscriber, throwing
IllegalStateException
if you attempt multiple subscriptions