(stream)
| 338 | |
| 339 | |
| 340 | function getHandleWrapType(stream) { |
| 341 | if (stream instanceof Pipe) return 'pipe'; |
| 342 | if (stream instanceof TTY) return 'tty'; |
| 343 | if (stream instanceof TCP) return 'tcp'; |
| 344 | if (stream instanceof UDP) return 'udp'; |
| 345 | |
| 346 | return false; |
| 347 | } |
| 348 | |
| 349 | function closePendingHandle(target) { |
| 350 | target._pendingMessage.handle.close(); |
no outgoing calls
no test coverage detected
searching dependent graphs…