I started to work with the Custom Functions with office js api, and I have a few questions.
I have a scenario, where I might need to refresh all the custom function formulas values after clicking on the add-in button in the excel Ribbon. Is there a way to do that from function-file.js or any other way in general?
Also what would be a good approach to share the state between custom-functions.js or any other part of your add-in? I have been trying to use OfficeRuntime.AsyncStorage for this purpose, but the problem is that office.js library do not have AsnycStorage defined in it, and AsyncStorage can only be accessed from custom functions, caused it is defined in the Custom functions runtime.