Skip to content

Type Alias: AskStreamOptions

type AskStreamOptions = object;

Defined in: packages/sdk/src/index.ts:638

Second arg to askStream() — abort signal plus the per-step trace listener that feeds live UIs.

Property Type Description Defined in
onTrace? (event) => void SK-SDK-007: every ask-pipeline step fires once when known. Surfaces wire this into their live trace UI (SK-WEB-005, GLOBAL-011). Returning a value is ignored; throwing is caught so a buggy hook can’t take the ask call down with it. packages/sdk/src/index.ts:644
signal? AbortSignal - packages/sdk/src/index.ts:639