MCPcopy
hub / github.com/thesysdev/openui / push

Method push

packages/lang-core/src/parser/parser.ts:430–430  ·  view source on GitHub ↗

Feed the next SSE/stream chunk and get the latest ParseResult.

(chunk: string)

Source from the content-addressed store, hash-verified

428export interface StreamParser {
429 /** Feed the next SSE/stream chunk and get the latest ParseResult. */
430 push(chunk: string): ParseResult;
431 /** Set the full text — diffs against internal buffer, pushes only the delta.
432 * Resets automatically if the text was replaced (not appended). */
433 set(fullText: string): ParseResult;

Callers 15

runGenerateFunction · 0.80
useOpenUIStateFunction · 0.80
assertFunction · 0.80
extractSlotsFunction · 0.80
SidebarContainerFunction · 0.80
getDistributedColorsFunction · 0.80
getSnapPositionsFunction · 0.80
getSnapPositionsFunction · 0.80
transformScatterDataFunction · 0.80
getSnapPositionsFunction · 0.80
computeFunction · 0.80
getEntriesFunction · 0.80

Calls

no outgoing calls

Tested by 2

collectFunction · 0.64
collectFunction · 0.64