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

Method in

packages/socket.io-postgres-emitter/lib/index.ts:291–295  ·  view source on GitHub ↗

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

(
    room: string | string[],
  )

Source from the content-addressed store, hash-verified

289 * @public
290 */
291 public in(
292 room: string | string[],
293 ): BroadcastOperator<EmitEvents, ServerSideEvents> {
294 return this.to(room);
295 }
296
297 /**
298 * Excludes a room when emitting.

Callers

nothing calls this directly

Calls 1

toMethod · 0.95

Tested by

no test coverage detected