MCPcopy Create free account
hub / github.com/socketio/socket.io / allSockets

Method allSockets

lib/index.ts:939–941  ·  view source on GitHub ↗

* Gets a list of socket ids. * * @deprecated this method will be removed in the next major release, please use Server#serverSideEmit or * Server#fetchSockets instead.

()

Source from the content-addressed store, hash-verified

937 * {@link Server#fetchSockets} instead.
938 */
939 public allSockets(): Promise<Set<SocketId>> {
940 return this.sockets.allSockets();
941 }
942
943 /**
944 * Sets the compress flag.

Callers 2

getSocketsFunction · 0.45
index.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected