* Measures the size of `chunk` by always returning 1. * This ensures that the total queue size is a count of the number of chunks in the queue.
()
| 14265 | * This ensures that the total queue size is a count of the number of chunks in the queue. |
| 14266 | */ |
| 14267 | get size() { |
| 14268 | if (!IsCountQueuingStrategy(this)) { |
| 14269 | throw countBrandCheckException("size"); |
| 14270 | } |
| 14271 | return countSizeFunction; |
| 14272 | } |
| 14273 | } |
| 14274 | Object.defineProperties(CountQueuingStrategy2.prototype, { |
| 14275 | highWaterMark: { enumerable: true }, |
nothing calls this directly
no test coverage detected