(stream)
| 275 | } |
| 276 | |
| 277 | function isServerRequest(stream) { |
| 278 | return ( |
| 279 | typeof stream._consuming === 'boolean' && |
| 280 | typeof stream._dumped === 'boolean' && |
| 281 | stream.req?.upgradeOrConnect === undefined |
| 282 | ); |
| 283 | } |
| 284 | |
| 285 | function willEmitClose(stream) { |
| 286 | if (!isNodeStream(stream)) return null; |
no outgoing calls
no test coverage detected
searching dependent graphs…