Skip to content

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

Service: Websocket: Event Guards ​

Type Aliases ​

Type AliasDescription
EventGuardGuard function that determines if an event should be emitted to a room.

Variables ​

VariableDescription
ForUserGuardForUser guard checks if transaction belongs to the user in the room.
InPosGuardInPos guard checks if transaction belongs to the POS in the room.