Skip to content

StreamPlanRunEventsOptions

Defined in: .upstream/src/client/types.plan-runs.ts:114

Options for WarrenClient.streamPlanRunEvents.

Unlike StreamRunEventsOptions, there is no sinceSeq — the /plan-runs/:id/events endpoint emits the union of every child run’s events and does not accept a ?since= replay cursor. On reconnect, callers must dedupe client-side by (runId, seq) since the snapshot is replayed from the top each time the stream is (re)opened.

optional follow?: boolean

Defined in: .upstream/src/client/types.plan-runs.ts:116

Keep the connection open and emit new child events as they arrive.


optional signal?: AbortSignal

Defined in: .upstream/src/client/types.plan-runs.ts:118

External abort signal — closes the underlying HTTP body.