ElementAccumulationState
Tracks which element fields have arrived and whether its JSON object is still streaming.
import type { ElementAccumulationState } from '@threadplane/chat';Declaration
export interface ElementAccumulationState {
hasChildren: boolean;
hasProps: boolean;
hasType: boolean;
streaming: boolean;
}Members
hasChildren
hasChildren: boolean;hasProps
hasProps: boolean;hasType
hasType: boolean;streaming
streaming: boolean;