Introduction to ReactiveX(Part 1)

Satyam Gondhale
2 min readMar 27, 2021

ReactiveX also known as Reactive extensions is basically a library for performing asynchronous & event-based programs using Observable sequences. To do this effectively it uses observer pattern to support events, sequence of data and adds operator capabilities to compose sequences together by abstracting concerns about threading, synchronization, thread-safety & non-blocking IO issues. It is sometime also called “functional reactive programming”.

The Reactive Observable model allows easy treatment of streams of asynchronous events with simple composable operations. As it is totally observable in nature it frees us from developing a lots of callbacks and make code more readable.

ReactiveX Observable support not just emission of single scaler values but also sequence of values & even infinite streams. The main part is Observable that can be used for any type of use cases as it has all type of flexibility.

ReactiveX is currently implemented in variety of languages. It provides collection of operators with which you can filter, search, transform & combine observables. In this reactive approach, with an Observable the producer pushes value to the consumer whenever the values are available. This approach is more flexible because values can arrive synchronously & asynchronously

Main Components of ReactiveX

  1. Observable
  2. Observer
  3. Operator
  4. Single
  5. Subject
  6. Scheduler

Languages it support

  1. RxJava
  2. RxJs
  3. Rx.Net
  4. RxScala
  5. RxClojure
  6. RxSwift

ReactiveX resources(click to open)

Thanks for your valuable read. I have tried to make the short and useful information available to you. If liked, please support & share.

--

--