Hello,
I have been using ExcelDNA for many years now with great success and stability. ExcelAsyncUtil.Run is simple to use and very useful for dispatching calculations made on a remote server.
A common case that happens however is that a user has let's say 1000 cells with a UDF formula based on a single Date cell which returns something different for all of them based on the date. The processing takes some relative time (remote server with heavy calculation). The performance is still very good, but sometimes the user makes a mistake on the Date cell, changes it fast, before the previous 1000 cells have been calculated, and it triggers a new recalculation of the 1000 cells.
I have recently upgraded to ExcelDNA 0.32 and I have seen the new ExcelAsyncUtil.CalculationCanceled and CalculationEnded events, as well as samples on how to use them and Task Delay something based on a CaclulationTokenSource.
I would like to know when these events will get triggered and if they might help me trap "expired" calculations since the calculation model has changed?
Kind regards,
Vincent