• +91 9723535972
  • info@interviewmaterial.com

RxJS Interview Questions and Answers

Question - What is Observers and Subscriptions?

Answer -

Observers and Subscriptions are related to the concept of Observable.
Observers:
Observer is a set of callbacks that know how to listen to the values of the Observable.
  • Observers are also referred to as listeners (or consumers)
  • Observers may listen or subscribe to the data being observed.
Subscription:
Subscription is an observable execution
  • Subscriptions are objects returned when an Observable is subscribed.
  • Subscription is useful mainly to cancel the execution


Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners