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

Function createStreamingParser

packages/lang-core/src/parser/parser.ts:681–683  ·  view source on GitHub ↗
(schema: LibraryJSONSchema, rootName?: string)

Source from the content-addressed store, hash-verified

679 * Pass `library.toJSONSchema()` to get the schema.
680 */
681export function createStreamingParser(schema: LibraryJSONSchema, rootName?: string): StreamParser {
682 return createStreamParser(compileSchema(schema), rootName);
683}

Callers 1

useOpenUIStateFunction · 0.90

Calls 2

createStreamParserFunction · 0.85
compileSchemaFunction · 0.85

Tested by

no test coverage detected