MCPcopy
hub / github.com/react/react / 16

Function 16

packages/react-client/src/ReactFlightClient.js:2514–2518  ·  view source on GitHub ↗
(!response._chunks.has(id))

Source from the content-addressed store, hash-verified

2512 }
2513 const ref = value.slice(2); // We assume this doesn't have a path just id.
2514 const id = parseInt(ref, 16);
2515 if (!response._chunks.has(id)) {
2516 // We haven't seen this id before. Query the server to start sending it.
2517 debugChannelCallback('Q:' + ref);
2518 }
2519 // Start waiting. This now creates a pending chunk if it doesn't already exist.
2520 const chunk = getChunk(response, id);
2521 if (chunk.status === INITIALIZED) {

Callers

nothing calls this directly

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected