In Angular, when using a hot observable, what happens to the data emissions when there are no subscribers?

  • Data emissions are buffered and sent to the next subscriber when they subscribe.
  • Data emissions are cached and sent to the first subscriber who subscribes.
  • Data emissions are lost if there are no subscribers.
  • Data emissions are sent to a separate storage location for later retrieval.
When using a hot observable in Angular, data emissions are lost if there are no subscribers. They are not cached or buffered for future subscribers.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *