Skip to content
Français

ObservationWatchOptions

import type { ObservationWatchOptions } from "@elie-laloum/outpost/core";
  • 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.
  • fromOptional
    number | undefined
    Exclusive persistent cursor, default 0; negative, fractional or ahead-of-snapshot cursors fail.
  • pollMsOptional
    number | undefined
    Positive polling period in milliseconds while running, default 1000.
export interface ObservationWatchOptions extends Omit<
  WatchRunOptions,
  "transporter" | "id"
> {}