MCPcopy Create free account
hub / github.com/apache/maka / page

Method page

apps/desktop/src/main/runtime-host-client.ts:1157–1170  ·  view source on GitHub ↗
(result, first)

Source from the content-addressed store, hash-verified

1155 cursor,
1156 }),
1157 page(result, first) {
1158 if (
1159 result.kind !== "page" ||
1160 result.sessionId !== sessionId ||
1161 (first !== undefined && result.revision !== first.revision)
1162 ) {
1163 throw invalidProjection("Task ledger");
1164 }
1165 return {
1166 source: result,
1167 items: result.tasks,
1168 nextCursor: result.nextCursor,
1169 };
1170 },
1171 });
1172 return projection.items;
1173 }

Callers 1

collectStableProjectionFunction · 0.80

Calls 1

invalidProjectionFunction · 0.85

Tested by

no test coverage detected