SandboxExecOption
type SandboxExecOption = { callLog?: ( | CallLogEntry | null)[]; data: Record<string, unknown>; logger?: Logger; resumption?: SandboxResumption; script: string;};Defined in: instance/instance.ts:57
Input to Sandbox.eval: the script to run, the initial data global, and optionally a prior callLog and resumption to replay and resume an interrupted run.
Properties
Section titled “Properties”callLog?
Section titled “callLog?”optional callLog?: ( | CallLogEntry | null)[];Defined in: instance/instance.ts:60
data: Record<string, unknown>;Defined in: instance/instance.ts:59
logger?
Section titled “logger?”optional logger?: Logger;Defined in: instance/instance.ts:62
resumption?
Section titled “resumption?”optional resumption?: SandboxResumption;Defined in: instance/instance.ts:61
script
Section titled “script”script: string;Defined in: instance/instance.ts:58