Forget the autosave (e.g. the user discarded recovery).
Save now (serialized with other saves).
Call after the user saved the document elsewhere (e.g. downloaded the file).
An autosave with unsaved changes from a previous session, if any.
Load the autosaved document into the engine. Returns the stored view state.
Start watching commits.
Saves the engine's document to a
StorageAdaptershortly after each commit, and offers recovery after a crash or a closed tab.