MCPcopy Index your code
hub / github.com/CapSoftware/Cap / handler

Function handler

apps/desktop/scripts/desktop-display-transport-benchmark.js:408–412  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

406 reject(new Error(`Timed out waiting for ${method}`));
407 }, timeoutMs);
408 function handler(params) {
409 clearTimeout(timer);
410 cdp.off(method, handler);
411 resolve(params);
412 }
413 cdp.on(method, handler);
414 });
415}

Callers 3

connectCdpFunction · 0.70
callHandlerFunction · 0.50
createResizeHandlerFunction · 0.50

Calls 1

resolveFunction · 0.70

Tested by

no test coverage detected