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.