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

Function stopSockets

tests/ws-endpoints-migration.test.ts:16–21  ·  view source on GitHub ↗
(instance)

Source from the content-addressed store, hash-verified

14});
15
16const stopSockets = function (instance) {
17 const endpoints = instance.websockets.subscriptions();
18 for (const endpoint in endpoints) {
19 instance.websockets.terminate(endpoint);
20 }
21};
22
23describe('classifyFuturesStream', function () {
24 it('classifies bookTicker as public', function () {

Callers 1

Calls 2

subscriptionsMethod · 0.65
terminateMethod · 0.65

Tested by

no test coverage detected