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

Method getUserSession

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

* Get user session data for a socket

(socketId: string)

Source from the content-addressed store, hash-verified

79 * Get user session data for a socket
80 */
81 getUserSession(socketId: string): Promise<UserSession | null>
82
83 /**
84 * Get all users in a workflow room

Callers 6

index.test.tsFile · 0.65
setupVariablesHandlersFunction · 0.65
setupSubblocksHandlersFunction · 0.65
setupOperationsHandlersFunction · 0.65
setupWorkflowHandlersFunction · 0.65
setupPresenceHandlersFunction · 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