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

Function push

packages/lang-core/src/parser/parser.ts:613–616  ·  view source on GitHub ↗
(chunk)

Source from the content-addressed store, hash-verified

611
612 return {
613 push(chunk) {
614 buf += chunk;
615 return currentResult();
616 },
617 set(fullText) {
618 if (fullText.length < buf.length || !fullText.startsWith(buf)) {
619 reset();

Callers

nothing calls this directly

Calls 1

currentResultFunction · 0.85

Tested by

no test coverage detected