phosphorjs / phosphor

The PhosphorJS Library
BSD 3-Clause "New" or "Revised" License
1.04k stars 166 forks source link

Add (de-)serialization to datastore #415

Closed vidartf closed 4 years ago

vidartf commented 4 years ago

Allows the state of a datastore to be serialized and restored. Note: The state can only be restored on initialization. Mainly meant to enable checkpoints.

Also includes a simple round-trip test