Skip to content
Français

ReadRunOptions

import type { ReadRunOptions } from "@elie-laloum/outpost/observation";
  • transporterRequired
    Transport
    Transport targeting the same location as the execution receiver.
  • idRequired
    string
    Application-selected run ID to read without taking execution ownership.
  • signalOptional
    AbortSignal | undefined
    Cancel transport reads and watch polling only; never cancels the observed execution.
  • maxBytesOptional
    number | undefined
    Per-object read limit in bytes, default 8388608; oversized snapshots or event segments fail.
export interface ReadRunOptions {
  readonly transporter: Transport;
  readonly id: string;
  readonly signal?: AbortSignal;
  readonly maxBytes?: number;
}