(rootDb: object)
| 1032 | const healthProbeGateByRootDb = new WeakMap<object, HealthProbeGate>(); |
| 1033 | |
| 1034 | const 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 |
no test coverage detected