Set entry by index (0 = oldest) — used by network response matching
(index: number, entry: T)
| 83 | |
| 84 | /** Set entry by index (0 = oldest) — used by network response matching */ |
| 85 | set(index: number, entry: T): void { |
| 86 | if (index < 0 || index >= this._size) return; |
| 87 | this.buffer[(this.head + index) % this.capacity] = entry; |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | // ─── Entry Types ──────────────────────────────────────────── |
no outgoing calls