Replies: 4 comments
-
No, I'm afraid Excel does not have any extra feedback mechanism for the async calls. |
Beta Was this translation helpful? Give feedback.
-
Hi Govert, |
Beta Was this translation helpful? Give feedback.
-
RTD-based async function work on old version of Excel where there is no native async support. They are also not interrupt by the user's work (if the user starts typing or whatever when the native async functions are busy, they are cancelled and only restarted when the user stops). There is also more flexibility, for example making streaming async functions using RTD (so the async functions are just implemented as one-shot streaming functions). |
Beta Was this translation helpful? Give feedback.
-
Hi Govert, |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I have a big add-in which contains 2500 async UDFs. These UDFs are calculating in a remote server. In order to avoid round-trip issues I put them in a queue and send them to server in batches. When server complete and send response to the client (my add-in) I call ExcelAsyncHandle.SetResult for every request. Everything works as I expected.
But the problem is I don't know when I send queued requests to my server. Is there any Excel event which notifies me "There are no more async functions which to be calculated" ?
Thank you all
Edit: I know I can wait some delay until no more UDF call. But I don't prefer that way.
Beta Was this translation helpful? Give feedback.
All reactions