The Office JavaScript API defines the saveAsync method to persist settings into the document (e.g. the PowerPoint presentation).
This is an asynchron