SerializeModel
Utility to serialize a model object (and its children) continuously and efficiently
Static Members
Instance Members
destroyModelOnUntrack: Bool
compact(?done: Function): 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.
Name |
Type |
Default |
done |
Function |
(optional) |
Synchronize (expected to be called at regular intervals or when something important needs to be serialized)
Private Members
willCleanDestroyedTrackedModels: Bool
Triggered when serialized data is updated.
If append
is true, the given string should be appended to the existing one.
cleanTrackingFromPrevSerializedMap(prevSerializedMap: Map): Void
Name |
Type |
prevSerializedMap |
Map |
Name |
Type |
model |
Model |
fromSerializedField |
Bool |
Name |
Parameters |
:build |
ceramic.macros.ComponentMacro.build() |
:autoBuild |
ceramic.macros.ComponentMacro.build() |
:build |
ceramic.macros.EntityMacro.buildForCompletion() |
:autoBuild |
ceramic.macros.EntityMacro.buildForCompletion() |
:build |
tracker.macros.EventsMacro.build() |
:autoBuild |
tracker.macros.EventsMacro.build() |