Object -
streams :
Snapshotable
Abstract Snapshotable to be referenced by all snapshotable objects.
Methods
Function to return the current state of a snapshotable object.
-
Return Type
(map) A
map<any>
that represents the current state of the snapshotable instance.
Function to restore a previous state intoa a snapshotable object.
Parameters
- state map
-
A
map<any>
state that can be used to restore snapshotable instance to a previous state.