Signal emitted by the editor that triggered the update, providing the root document of the updated documents.
Test whether the document is disposed.
Signal emitted when the update is started
Signal emitted when the update is finished
Update all the virtual documents, emit documents updated with root document if succeeded, and resolve a void promise. The promise does not contain the text value of the root document, as to avoid an easy trap of ignoring the changes in the virtual documents.
Execute provided callback within an update-locked context, which guarantees that:
the callback to execute in update lock
Signal emitted when a code block is added to the document.