* Add multiple items to the buffer at once.
(items: T[])
| 27 | * Add multiple items to the buffer at once. |
| 28 | */ |
| 29 | addAll(items: T[]): void { |
| 30 | for (const item of items) { |
| 31 | this.add(item) |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Get the most recent N items from the buffer. |
no test coverage detected