Skip to content

Interface: SttSignals

Defined in: reactive.ts:26

Properties

dispose

dispose: () => void

Defined in: reactive.ts:36

Unsubscribe from the handle. The signals keep their last values.

Returns

void


finals

finals: () => readonly SttSegmentFinal[]

Defined in: reactive.ts:32

Append-only, in arrival order (FIFO engines = segment order).

Returns

readonly SttSegmentFinal[]


lastError

lastError: () => { message: string; segment?: number; } | undefined

Defined in: reactive.ts:34

The last reported error, cleared by the next delta/final.

Returns

{ message: string; segment?: number; } | undefined


partial

partial: () => { segment: number; text: string; } | undefined

Defined in: reactive.ts:30

The open segment's CUMULATIVE partial; undefined when nothing streams. Cleared by that segment's final (which lands in finals).

Returns

{ segment: number; text: string; } | undefined


status

status: () => SttStatus

Defined in: reactive.ts:27

Returns

SttStatus