snapshotRuntime
Agent Runtimes / runtimes/actions / snapshotRuntime
Function: snapshotRuntime()
snapshotRuntime(
options):Promise<ICodeSandboxSnapshot|undefined>
Defined in: src/runtimes/actions.ts:162
Snapshot a Runtime.
Parameters
options
description?
string
Snapshot description.
id
string
Runtime ID.
name?
string
Snapshot name.
stop?
boolean
Whether to stop the runtime after the snapshot completion or not.
Returns
Promise<ICodeSandboxSnapshot | undefined>