based on the new API doc
1. If the addon's saved variables are too large (more than 50kb in size or more than 4ms to write) it will instead wait until the next load screen to do the work.
Question: by 4ms do you mean 400ms??? cuz I doubt that the open file API returns the handle within this time frame. Tested this with a 3kb file and nothing was written after 15min
2. An addon can request to be prioritized for saving, which is useful if you know that a change happened: RequestAddOnSavedVariablesPrioritySave(addonName)
Question1: Why is /script d(RequestAddOnSavedVariablesPrioritySave) returning nil?
Question2: When do we have to call this? Do we have to call this to get the auto save feature to work? Or does the auto save have a limit on how many saved vars it could save in one cycle? Whats stopping addons from abusing this function every time a change happened?
Question3: Instead of this function can we give users an additional checkbox to enable/disable this feature for selected addons and let them set the max time/file size for auto saving instead of hard coded it to 50kb/4ms? And then do the saving in a cycle style like addon1 -> addon2 -> addon3 -> addon1 -> addon2.