* End the flush and return any queued items for draining. * Caller is responsible for sending the returned items.
()
| 35 | * Caller is responsible for sending the returned items. |
| 36 | */ |
| 37 | end(): T[] { |
| 38 | this._active = false |
| 39 | return this._pending.splice(0) |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * If flush is active, queue the items and return true. |
no test coverage detected