79111233

Date: 2024-10-21 18:06:02
Score: 1
Natty:
Report link

For Someone if still having hard time to understand

Observable: is like a radio station that broadcasts new songs after some time

Observer: It's radio that actually receives those signals(data) from that radio station and converts those into(song).

but remember until we turn on the radio or basically we subscribe it we can't listen to it right?

In actually angular (Observers are just objects with three callbacks, one for each type of notification that an Observable may deliver)

And yeah this is what a subscriber is people who want to listen(in actual example could a be person that subscribes to some Observable)

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Sameer