(rootDb: object)
| 265 | const refreshGateByRootDb = new WeakMap<object, RefreshGate>(); |
| 266 | |
| 267 | const refreshGateFor = (rootDb: object): RefreshGate => { |
| 268 | const existing = refreshGateByRootDb.get(rootDb); |
| 269 | if (existing) return existing; |
| 270 | const created: RefreshGate = new Map(); |
| 271 | refreshGateByRootDb.set(rootDb, created); |
| 272 | return created; |
| 273 | }; |
| 274 | |
| 275 | // --------------------------------------------------------------------------- |
| 276 | // Elicitation handler — resolved once at `createExecutor({ onElicitation })` |
no test coverage detected