Skip to content

FieldState

Defined in: state.ts:53

mode: "generate" | "replay" | null

Defined in: state.ts:60

Declared delivery mode, once the field has opened.


settled: boolean

Defined in: state.ts:64

*-done seen: text is final for this stream.


source: "generated" | "cached" | "static"

Defined in: state.ts:58

Provenance of text. generated and cached may carry the adaptation mark, static may not — decideChrome is the one place that decides.


text: string

Defined in: state.ts:55

What a consumer should render right now. Never a placeholder.


typing: boolean

Defined in: state.ts:62

True while live deltas are landing — consumers may animate a caret.