Open maksbd19 opened 3 years ago
Hi I found this line in the code to modify the prototype of Socket. I understand this approach is deprecated and also discouraged.
Socket.prototype.__proto__ = Emitter.prototype;
https://github.com/tj/axon/blob/e70a1649c68868de167ec5e132c61dd8f52f7645/lib/sockets/sock.js#L60
Hi I found this line in the code to modify the prototype of Socket. I understand this approach is deprecated and also discouraged.
Socket.prototype.__proto__ = Emitter.prototype;
https://github.com/tj/axon/blob/e70a1649c68868de167ec5e132c61dd8f52f7645/lib/sockets/sock.js#L60