I see this after upgrading to 0.39.2. It worked fine previously on 0.38.2.
When subscribing to l2 orderbook on Bittrex this error occurs when it requests the snapshot over REST
TypeError: Cannot read property 'unref' of undefined
at Throttle._schedule (/my/local/path/node_modules/ccxws/src/flowcontrol/throttle.js:27:22)
at Throttle._process (/my/local/path/node_modules/ccxws/src/flowcontrol/throttle.js:37:12)
at Throttle.add (/my/local/path/node_modules/ccxws/src/flowcontrol/throttle.js:12:29)
at BittrexClient._sendSubLevel2Updates (/my/local/path/node_modules/ccxws/src/exchanges/bittrex-client.js:141:10)
I believe it stems from the bittrex-client constructor using the throttle.js utility
node 12.14
I see this after upgrading to 0.39.2. It worked fine previously on 0.38.2.
When subscribing to l2 orderbook on Bittrex this error occurs when it requests the snapshot over REST
I believe it stems from the bittrex-client constructor using the throttle.js utility
This is the line within
throttle.js
.setTimeout
is returning undefined sothis._handle
is undefined, causingthis._handle.unref
to be undefined;