(name)
| 738 | |
| 739 | // Proxy HandleWrap, PipeWrap and TCPWrap methods |
| 740 | function makeMethodProxy(name) { |
| 741 | return function methodProxy(...args) { |
| 742 | if (this._parent[name]) |
| 743 | return ReflectApply(this._parent[name], this._parent, args); |
| 744 | }; |
| 745 | } |
| 746 | for (const proxiedMethod of proxiedMethods) { |
| 747 | tls_wrap.TLSWrap.prototype[proxiedMethod] = |
| 748 | makeMethodProxy(proxiedMethod); |
no outgoing calls
no test coverage detected
searching dependent graphs…