MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / deliveryTerminate

Function deliveryTerminate

deprecated/node-binance-api.js:1716–1722  ·  view source on GitHub ↗
(endpoint, reconnect = false)

Source from the content-addressed store, hash-verified

1714 * @return {undefined}
1715 */
1716 const deliveryTerminate = function (endpoint, reconnect = false) {
1717 let ws = Binance.deliverySubscriptions[endpoint];
1718 if (!ws) return;
1719 ws.removeAllListeners('message');
1720 ws.reconnect = reconnect;
1721 ws.terminate();
1722 }
1723
1724 /**
1725 * Combines all delivery OHLC data with the latest update

Callers 1

apiFunction · 0.85

Calls 1

terminateMethod · 0.65

Tested by

no test coverage detected