* Check if key has been bumped (has versioned state). * Returns false for keys that were only get() without bump().
(key: K)
| 69 | * Returns false for keys that were only get() without bump(). |
| 70 | */ |
| 71 | has(key: K): boolean { |
| 72 | return this.versions.has(key); |
| 73 | } |
| 74 | |
| 75 | /** |
| 76 | * Bump version for a key, invalidating cache and notifying subscribers. |
no outgoing calls