What are the Hot and Cold observables?

Posted by Sergey Aldoukhov on Stack Overflow See other posts from Stack Overflow or by Sergey Aldoukhov
Published on 2010-03-26T05:20:26Z Indexed on 2010/03/26 5:23 UTC
Read the original article Hit count: 324

Filed under:

I watched the video and I know the general principles - hot happens even when nobody is subscribed, cold happens "on demand". Also, Publish() converts cold to hot and Defer() converts hot to cold.

But still, I feel I am missing the details. Here are some questions I'd like to have answered:

  • Can you give a comprehensive definition for these terms?
  • Does it ever make sense to call Publish on hot observable or Defer on cold?
  • Is there differences between hot and cold definitions for IObservable and IEnumerable?
  • What are the general principles you should take into account when programming for cold or hot?
  • Any other tips on hot/cold observables?

© Stack Overflow or respective owner

Related posts about system.reactive