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

Method allSockets

packages/socket.io/lib/index.ts:1027–1029  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1025 * {@link Server#fetchSockets} instead.
1026 */
1027 public allSockets(): Promise<Set<SocketId>> {
1028 return this.sockets.allSockets();
1029 }
1030
1031 /**
1032 * Sets the compress flag.

Callers 2

getSocketsFunction · 0.45
index.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected