MCPcopy
hub / github.com/socketio/socket.io / cb

Function cb

packages/socket.io-client/test/connection.ts:557–559  ·  packages/socket.io-client/test/connection.ts::cb
()

Source from the content-addressed store, hash-verified

555 const socket = manager.socket(class="st">"/asd");
556 let reconnects = 0;
557 const cb = () => {
558 reconnects++;
559 };
560
561 manager.on(class="st">"reconnect_attempt", cb);
562

Callers 8

socket.tsFile · 0.70
index.tsFile · 0.50
worker.jsFile · 0.50
createServerFunction · 0.50
cluster-adapter.tsFile · 0.50
messaging-many.tsFile · 0.50
socket-timeout.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected