MCPcopy Create free account
hub / github.com/anomalyco/console / getInvocation

Function getInvocation

packages/web/workspace/src/data/log.ts:67–72  ·  view source on GitHub ↗
(group: string, requestID: string)

Source from the content-addressed store, hash-verified

65 produce((state) => {
66 let currentGroup: string;
67 function getInvocation(group: string, requestID: string) {
68 currentGroup = group;
69 const index = invocations.get(group)?.get(requestID);
70 if (index === undefined || index < 0) return;
71 return state[group]?.at(index);
72 }
73 for (const event of data) {
74 performance.mark("start");
75 switch (event.type) {

Callers 1

log.tsFile · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected