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

Method serverCount

packages/socket.io-adapter/lib/in-memory-adapter.ts:76–78  ·  view source on GitHub ↗

* Returns the number of Socket.IO servers in the cluster * * @public

()

Source from the content-addressed store, hash-verified

74 * @public
75 */
76 public serverCount(): Promise<number> {
77 return Promise.resolve(1);
78 }
79
80 /**
81 * Adds a socket to a list of room.

Callers 3

fetchSocketsFunction · 0.80
serverSideEmitFunction · 0.80
emitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected