RxCookbook
RxCookbook copied to clipboard
Last-Value cache
The ever popular last value cache. Often required, poorly implemented.
Potential implementations should/could:
- Take a single sequence and partition it with group by and cache the last value of each
- Only cache the last shared value
- Provide an GetOrAdd(TKey, Func<TKey, IObservable<TValues>>) method.
- Allow disposal to trash the whole thing.