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

Function socketsJoin

packages/socket.io-redis-streams-emitter/lib/index.ts:112–114  ·  view source on GitHub ↗

* Makes the matching socket instances join the specified rooms * * @param rooms * @public

(rooms: string | string[])

Source from the content-addressed store, hash-verified

110 * @public
111 */
112 public socketsJoin(rooms: string | string[]): void {
113 return this.newBroadcastOperator().socketsJoin(rooms);
114 }
115
116 /**
117 * Makes the matching socket instances leave the specified rooms

Callers

nothing calls this directly

Calls 2

newBroadcastOperatorMethod · 0.80
socketsJoinMethod · 0.45

Tested by

no test coverage detected