(id)
| 320 | } |
| 321 | |
| 322 | _evictFromIndex(id) { |
| 323 | const msg = this._messages.get(id); |
| 324 | if (!msg) return; |
| 325 | const arr = msg.direction === 'outbound' ? this._outbound : this._inbound; |
| 326 | const idx = arr.indexOf(id); |
| 327 | if (idx !== -1) arr.splice(idx, 1); |
| 328 | } |
| 329 | |
| 330 | // --- Public API: send / writeInbound --- |
| 331 |
no outgoing calls
no test coverage detected