Skip to content

SudoSOS Back-end API / service/websocket/event-registry

service/websocket/event-registry ​

Classes ​

ClassDescription
EventRegistryRegistry for event types and their handlers.

Interfaces ​

InterfaceDescription
EventHandlerEvent handler configuration for a specific event type.
ResolvedRoomResolved room information from event data.

Type Aliases ​

Type AliasDescription
RoomResolverResolver function that extracts all potential room information from event data. Returns an array of all rooms that this event could potentially be emitted to. The guard will then filter which rooms actually receive the event.