(object, keepalive = false)
| 5768 | yield iterator.return(); |
| 5769 | }); |
| 5770 | }, |
| 5771 | type: "bytes" |
| 5772 | }); |
| 5773 | } |
| 5774 | const body = { stream, source, length }; |
| 5775 | return [body, type]; |
| 5776 | } |
| 5777 | function safelyExtractBody(object, keepalive = false) { |
| 5778 | if (object instanceof ReadableStream) { |
| 5779 | assert(!util.isDisturbed(object), "The body has already been consumed."); |
no test coverage detected