http call

 Observable:

  • An Observable is a powerful way to manage asynchronous data.
  • It is part of the Reactive Extensions for JavaScript (RxJS) library.
  • which is widely used in Angular applications.  
  • Observables can emit multiple values over time
  • Making them ideal for handling data streams like HTTP requests, user inputs, or WebSocket messages.


Key Concepts :

  • Observable
    • An object that represents a stream of data that can be observed.
  • Observer
    • An object that subscribes to the Observable to receive data or notifications.
  • Subscription
    • A connection between the Observable and the Observer. It can be used to cancel the data stream.
  • Operators
    • Functions that allow you to manipulate the data stream, like filtering, mapping, or merging data.






Comments

Popular posts from this blog

CSS interview question

HTML

Angular full tutorial