(chunk)
| 9143 | } |
| 9144 | __name(releaseRequestStream, "releaseRequestStream"); |
| 9145 | function onData(chunk) { |
| 9146 | const stream = this; |
| 9147 | const { request } = stream[kRequestStreamState]; |
| 9148 | if (request.aborted || request.completed) { |
| 9149 | return; |
| 9150 | } |
| 9151 | if (request.onResponseData(chunk) === false) { |
| 9152 | stream.pause(); |
| 9153 | } |
| 9154 | } |
| 9155 | __name(onData, "onData"); |
| 9156 | function onResponse(headers) { |
| 9157 | const stream = this; |
nothing calls this directly
no test coverage detected