(request, error)
| 102 | const onClientResponseFinishChannel = dc.channel('http.client.response.finish'); |
| 103 | |
| 104 | function emitErrorEvent(request, error) { |
| 105 | if (onClientRequestErrorChannel.hasSubscribers) { |
| 106 | onClientRequestErrorChannel.publish({ |
| 107 | request, |
| 108 | error, |
| 109 | }); |
| 110 | } |
| 111 | request.emit('error', error); |
| 112 | } |
| 113 | |
| 114 | const { addAbortSignal, finished } = require('stream'); |
| 115 |
no test coverage detected
searching dependent graphs…