Utility to serialize a model object (and its children) continuously and efficiently
Events
changeset(changeset:SerializeChangeset):Void
Triggered when serialized data is updated.
If append
is true, the given string should be appended to the existing one.
Static methods
Constructor
Variables
read onlyinitializerName:String = null
Methods
compact(?done:String ‑> Void):Void
Recompute the whole object tree instead of appending. This will untrack every object not on the model anymore and generate a new changeset with the whole serialized object tree.
synchronize():Void
Synchronize (expected to be called at regular intervals or when something important needs to be serialized)