Open eladcon opened 10 months ago
Hi,
This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Feature Spec
The simulator can now import and export snapshots of it's current state. A snapshot describes the state of every resource in the simulator, allowing users to save their data and load it at a later point.
Some use cases that might be interesting with this feature:
assert.matchesSnapshot(simulator.snapshot())
)Use Cases
see above
Implementation Notes
Resources can implement serialize and deserialize operations to import and export state, while the simulator calls the relevant operation on every resource.
Component
No response
Community Notes