File: Observable.md

package info (click to toggle)
rx-java 3.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 20,972 kB
  • sloc: java: 313,833; xml: 252; sh: 47; makefile: 8
file content (3 lines) | stat: -rw-r--r-- 643 bytes parent folder | download | duplicates (2)
1
2
3
In RxJava an object that implements the _Observer_ interface _subscribes_ to an object of the _Observable_ class. Then that subscriber reacts to whatever item or sequence of items the Observable object _emits_. This pattern facilitates concurrent operations because it does not need to block while waiting for the Observable to emit objects, but instead it creates a sentry in the form of a subscriber that stands ready to react appropriately at whatever future time the Observable does so.

For information about the Observable class, see [the Observable documentation page at ReactiveX.io](http://reactivex.io/documentation/observable.html).