* A body is disturbed if it has been read from and it cannot be re-used without * losing state or data. * @param {import('node:stream').Readable} body * @returns {boolean}
(body)
| 606 | * @returns {boolean} |
| 607 | */ |
| 608 | function isDisturbed (body) { |
| 609 | // TODO (fix): Why is body[kBodyUsed] needed? |
| 610 | return !!(body && (stream.isDisturbed(body) || body[kBodyUsed])) |
| 611 | } |
| 612 | |
| 613 | /** |
| 614 | * @typedef {object} SocketInfo |
no outgoing calls
no test coverage detected