MCPcopy
hub / github.com/simstudioai/sim / removeUserFromRoom

Method removeUserFromRoom

apps/realtime/src/rooms/types.ts:71–71  ·  view source on GitHub ↗

* Remove a user from their current room * Optional workflowIdHint is used when socket mapping keys are missing/expired. * Returns the workflowId they were in, or null if not in any room.

(socketId: string, workflowIdHint?: string)

Source from the content-addressed store, hash-verified

69 * Returns the workflowId they were in, or null if not in any room.
70 */
71 removeUserFromRoom(socketId: string, workflowIdHint?: string): Promise<string | null>
72
73 /**
74 * Get the workflow ID for a socket

Callers 3

index.test.tsFile · 0.65
setupWorkflowHandlersFunction · 0.65
setupConnectionHandlersFunction · 0.65

Implementers 2

RedisRoomManagerapps/realtime/src/rooms/redis-manager.
MemoryRoomManagerapps/realtime/src/rooms/memory-manager

Calls

no outgoing calls

Tested by

no test coverage detected