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

Function in

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

* Targets a room when emitting. * * @param room * @return BroadcastOperator * @public

(
    room: string | string[],
  )

Source from the content-addressed store, hash-verified

60 * @public
61 */
62 public in(
63 room: string | string[],
64 ): BroadcastOperator<EmitEvents, ServerSideEvents> {
65 return this.newBroadcastOperator().in(room);
66 }
67
68 /**
69 * Excludes a room when emitting.

Callers

nothing calls this directly

Calls 2

newBroadcastOperatorMethod · 0.80
inMethod · 0.45

Tested by

no test coverage detected