Operator

When an observable emits values, they are not always in the form that we desire. Operators come in handy, as they help us to alter the way in which observables emit values. Operators can be used in the following stages:

  • While creating an observable sequence
  • Converting events or some asynchronous patterns to observable sequences
  • Dealing with multiple observable sequences to combine them into single observables
  • Sharing side effects of an observable
  • Doing some mathematical transformations on observable sequences
  • Time-based operations such as throttling
  • Handling exceptions
  • Filtering values emitted by the observable sequence
  • Grouping and windowing values emitted