MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / continued

Function continued

graph-ui/src/galaxy/graph-scope.test.ts:440–447  ·  view source on GitHub ↗
(records: Record<string, string>[][])

Source from the content-addressed store, hash-verified

438
439 /* Review of K8: one batch of layer 3 read eight continuation pages, and the toolbar stood still for 8 s. */
440 const continued = (records: Record<string, string>[][]) => {
441 const total = records.flat().length;
442 let at = 0;
443 return records.map((rows, index) => {
444 const offset = at; at += rows.length;
445 return page(rows, { total, offset, ...(index < records.length - 1 ? { nextCursor: `c${index + 1}`, nextOffset: at } : {}) });
446 });
447 };
448
449 it('reports progress after every page of a long batch, not only when the batch ends', async () => {
450 const a = node(1);

Callers 1

Calls 1

pageFunction · 0.70

Tested by

no test coverage detected