MCPcopy Create free account
hub / github.com/solidjs/solid-start / interpretChunk

Function interpretChunk

packages/start/src/fns/serialization.ts:212–220  ·  view source on GitHub ↗
(chunk: string)

Source from the content-addressed store, hash-verified

210 const refs = new Map();
211
212 function interpretChunk(chunk: string): unknown {
213 const value = fromCrossJSON(JSON.parse(chunk) as SerovalNode, {
214 refs,
215 disabledFeatures: DISABLED_FEATURES,
216 depthLimit: MAX_SERIALIZATION_DEPTH_LIMIT,
217 plugins: DEFAULT_PLUGINS,
218 });
219 return value;
220 }
221
222 void reader.drain(interpretChunk);
223

Callers 1

deserializeJSONStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…