Question: How to produce single updates in an IObservableCache when batch editing a SourceCache #570
-
Hello, I use batch edit to add some market prices in the SourceCache (as shown below)
I also have an
When i subscribe to the
In my case I'm only interested about the latest value of a currency pair (eg if EURUSD had 3 price changes in 1 second i'm only interested about the 3rd).
Is what I'm asking possible? If yes how? ps: Yesterday I asked this question in stackoverflow. There i have my full sample code. I can copy it here as well if it's preferable. Also assuming i get an answer i will update/close this question accordingly (and vice versa of course). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Actually this is a long standing request which has never materialized into an operator. There is some partial code already in the solution which aims to do just this but has never bubbled to the surface. I have added the operator in this commit EnsureUniqueKeys operator and will merge it into the main solution as soon as I have created some unit tests. |
Beta Was this translation helpful? Give feedback.
-
PR here #591 |
Beta Was this translation helpful? Give feedback.
PR here #591