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

Function constructor

packages/socket.io-adapter/lib/cluster-adapter.ts:185–188  ·  view source on GitHub ↗
(nsp)

Source from the content-addressed store, hash-verified

183 private ackRequests: Map<string, ClusterAckRequest> = new Map();
184
185 protected constructor(nsp) {
186 super(nsp);
187 this.uid = randomId();
188 }
189
190 /**
191 * Called when receiving a message from another member of the cluster.

Callers

nothing calls this directly

Calls 2

debugFunction · 0.85
randomIdFunction · 0.70

Tested by

no test coverage detected