MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / healthProbeGateFor

Function healthProbeGateFor

packages/core/sdk/src/executor.ts:1034–1040  ·  view source on GitHub ↗
(rootDb: object)

Source from the content-addressed store, hash-verified

1032const healthProbeGateByRootDb = new WeakMap<object, HealthProbeGate>();
1033
1034const healthProbeGateFor = (rootDb: object): HealthProbeGate => {
1035 const existing = healthProbeGateByRootDb.get(rootDb);
1036 if (existing) return existing;
1037 const created: HealthProbeGate = new Map();
1038 healthProbeGateByRootDb.set(rootDb, created);
1039 return created;
1040};
1041
1042/** Gate key for one connection's in-flight probe. Structured (a JSON array),
1043 * never delimiter-joined: `tenant` and `subject` are opaque strings that may

Callers 1

createExecutorFunction · 0.85

Calls 2

getMethod · 0.65
setMethod · 0.65

Tested by

no test coverage detected