(!response._chunks.has(id))
| 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) { |