DumpStateHandler
DumpStateHandler: (
params
?) =>Promise
<DumpStateResult
>
Dumps the current state of the VM into a JSON-serializable object.
This handler allows you to capture the entire state of the VM, which can be useful for debugging, testing, or persisting the state across sessions.
Parameters
• params?: DumpStateParams
Optional parameters to customize the state dumping process.
Returns
Promise
<DumpStateResult
>
A promise that resolves to a DumpStateResult
object containing the state data.
Examples
See
LoadStateHandler for loading the dumped state back into the VM.