Skip to content

SandboxEvalResult

type SandboxEvalResult = {
callLog: (
| CallLogEntry
| null)[];
console: SandboxConsoleEntry[];
data: Record<string, unknown>;
};

Defined in: instance/instance.ts:66

The result of a completed Sandbox.eval: the final data global, the recorded call log, and the console output.

callLog: (
| CallLogEntry
| null)[];

Defined in: instance/instance.ts:68


console: SandboxConsoleEntry[];

Defined in: instance/instance.ts:74

Everything the script logged via console, in order. This is the script’s output channel (its notebook-cell stdout); data is internal state and is never presented to the caller directly.


data: Record<string, unknown>;

Defined in: instance/instance.ts:67