An Observable that provides blocking operators.
An Observable that provides blocking operators.
You can obtain a BlockingObservable from an Observable using rx.lang.scala.Observable.toBlocking
A ConnectableObservable resembles an ordinary Observable, except that it does not begin emitting items when it is subscribed to, but only when its connect method is called.
A ConnectableObservable resembles an ordinary Observable, except that it does not begin emitting items when it is subscribed to, but only when its connect method is called. In this way you can wait for all intended Subscribers to subscribe to the Observable before the Observable begins emitting items.
EXPERIMENTAL An Observable that provides operators which delay errors when composing multiple Observables.
EXPERIMENTAL An Observable that provides operators which delay errors when composing multiple Observables.
EXPERIMENTAL A utility class to create Observables that start acting when subscribed to and responds correctly to back pressure requests from Subscribers.
EXPERIMENTAL A utility class to create Observables that start acting when subscribed to and responds correctly to back pressure requests from Subscribers.
Semantics:
generator
is called to provide an initial state on each new subscriptionnext
is called with the last state and a requested
amount of items to provide a new state
and an Observable
that (potentially asynchronously) emits up to requested
items.onUnsubscribe
is called with the state provided by the last next
call when the Subscriber unsubscribesEXPERIMENTAL A utility class to create Observables that start acting when subscribed to and responds correctly to back pressure requests from Subscribers.
EXPERIMENTAL A utility class to create Observables that start acting when subscribed to and responds correctly to back pressure requests from Subscribers.
Semantics:
generator
is called to provide an initial state on each new subscriptionnext
is called with the last state to provide a data item and a new state for the next next
callonUnsubscribe
is called with the state provided by the last next
call when the observer unsubscribes
Contains special Observables.
In Scala, this package only contains rx.lang.scala.observables.BlockingObservable. In the corresponding Java package
rx.observables
, there is also aGroupedObservable
and aConnectableObservable
, but these are not needed in Scala, because we use a pair(key, observable)
instead ofGroupedObservable
and a pair(startFunction, observable)
instead ofConnectableObservable
.