Document
A CRDT-based data type. We can represent the model of the application and edit it even while offline.
A single-threaded, Closeable is used as default. Therefore you need to close the document, when the document is no longer needed. If you provide your own dispatcher, it is up to you to decide close is needed or not. snapshotDispatcher can be set differently from dispatcher, as snapshot operation can be much heavier than other operations.
Constructors
Types
Properties
Functions
Subscribes to events on the document with the specific targetPath.
Deletes elements that were removed before the given time.
Returns a new proxy of cloned root.
Returns a new proxy of deep-copied root. It ensures thread-safety by avoiding reuse of clone.
Returns the JsonElement corresponding to the path.
Executes the given updater to update this document.