KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a hot observable (from an event) that I'm calling DistinctUntilChanged on which will have multiple subscribers who will subscribe at different times after the observable has started running and produced its first value. Subscribers will get getting the IObservable through a property on my class. How do I make it so that each time someone subscribes to the observable they get the last value published but the observable acts normally otherwise? I think I might be looking for PublishLast but I'm not sure if it has other side effects. Similar question : How do I get an IObservable to push the newest value upon subscription ? This is a very similar question but it's from over a year ago and a lot of additions have been made to Rx so I think there might be a built-in function now rather than having to rely on a BehaviorSubject so I don't think this is an exact duplicate. Edit: Here is what I'm actually trying to do. There's a comment below the actual observable sequence I'm talking about.
Tags (comma-separated)
Save Edits
Cancel