I'm scared here. I usually read a book, but not yet. I have found many examples of various things related to reading streams using RX, but it is very difficult for me to plunge.
I know that I can use Observable.FromAsyncPattern to create a wrapper for Stream BeginRead / EndRead or BeginReadLine / EndReadLine methods.
But this is only read once - when the first observer subscribes.
I want an Observable that will continue reading and pumping OnNext until the stream errors end.
In addition to this, I would also like to know how I can share what is happening with several subscribers so that they all receive the items.
source
share