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

Function except

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

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

(
    room: string | string[],
  )

Source from the content-addressed store, hash-verified

73 * @public
74 */
75 public except(
76 room: string | string[],
77 ): BroadcastOperator<EmitEvents, ServerSideEvents> {
78 return this.newBroadcastOperator().except(room);
79 }
80
81 /**
82 * Sets a modifier for a subsequent event emission that the event data may be lost if the client is not ready to

Callers

nothing calls this directly

Calls 2

newBroadcastOperatorMethod · 0.80
exceptMethod · 0.45

Tested by

no test coverage detected