MCPcopy Create free account
hub / github.com/electric-sql/electric / debugState

Function debugState

packages/agents-runtime/src/create-handler.ts:479–484  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

477 }
478
479 const debugState = (): RuntimeDebugState => ({
480 pendingWakeCount: pendingWakes.size,
481 pendingWakeLabels: [...pendingWakeLabels.values()],
482 wakeErrorCount: wakeErrors.length,
483 typeNames: getRegisteredTypes().map((entry) => entry.name),
484 })
485
486 const handleWebhookRequest = async (request: Request): Promise<Response> => {
487 if (request.method !== `POST`) {

Callers

nothing calls this directly

Calls 3

getRegisteredTypesFunction · 0.85
valuesMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected