We are using ExecuteFunction to call functions in our Add-In one a button click.
We are facing the issue that it's possible that the function takes more than 5min to execute. Which seems to be the hard timeout limit.
Is there a way to get at least notified about the timeout in a callback or something?
// Commands.js:
const replyAction = async (event: Office.AddinCommands.Event) => {
// Long running code
...
event.completed(). // this never gets called
}
window.replyAction = replyAction;
// manifest.xml
<Action xsi:type="ExecuteFunction">
<FunctionName>composeAction</FunctionName>
</Action>