ExcelDna
ExcelDna copied to clipboard
Getting the list of dirty topics
I wonder if it's possible to get the list of the topics that are marked as dirty by the RTD server?
@fandrei My answer would be the same as before in #285 :
You're asking to break into a delicate mechanism that is currently completely encapsulated. There is no implementation problem in making the _dirtyTopics
dictionary public or protected, or adding a read-only accessor with the proper locking.
However, breaking the encapsulation has a long-term cost - harder to know whether problems are localised inside the class or not, coupling of the mechanism with outside code etc.
So I don't really want to break the encapsulation without some compelling scenarios for how it would be used. That would allow me to consider the trade-off with other ways of accomplishing the goals in those scenarios.
I'm just being a bit conservative in what changes I want to support in this code - I don't see any issues if you were to fork it and do it yourself.
@govert what I need is to have a way to check whether all the topic values are already flushed. Do you have any better ideas how to achieve this?