this.logService.trace(`doAutoSave() - enter for versionId ${versionId}`,this.resource);
// Cancel any currently running auto saves to make this the one that succeeds
this.autoSaveDisposable.clear();
// Create new save timer and store it for disposal as needed
consthandle=setTimeout(()=>{
// Clear the timeout now that we are running
this.autoSaveDisposable.clear();
// Only trigger save if the version id has not changed meanwhile
if(versionId===this.versionId){
this.doSave(versionId,{reason:SaveReason.AUTO});// Very important here to not return the promise because if the timeout promise is canceled it will bubble up the error otherwise - do not change