(key: ReadonlyArray<unknown>)
| 18 | const hash = Hash.hash(key) |
| 19 | const entry = invalidationModes.get(hash) ?? { awaitSubscribers: 0, softSubscribers: 0 } |
| 20 | if (mode === "soft") entry.softSubscribers++ |
| 21 | else entry.awaitSubscribers++ |
| 22 | invalidationModes.set(hash, entry) |
| 23 | let active = true |
| 24 | return () => { |
| 25 | if (!active) return |
no outgoing calls
searching dependent graphs…