Skip to content
1 min read · 16 words

Type Alias: GuestOutcome

ts
type GuestOutcome =
  | {
      durationMs: number;
      encoding: "encoder" | "partial";
      ok: true;
      result: unknown;
    }
  | ({
      durationMs: number;
      ok: false;
      thrown: GuestThrown;
    } & GuestLogFraming);

Defined in: src/batteries/sandbox/types.ts:192

Settled guest evaluation; partial encoding is still successful execution.