SudoSOS Back-end API / service/websocket/event-guards
service/websocket/event-guards ​
Type Aliases ​
| Type Alias | Description |
|---|---|
| EventGuard | Guard function that determines if an event should be emitted to a room. |
Variables ​
| Variable | Description |
|---|---|
| ForUserGuard | ForUser guard checks if transaction belongs to the user in the room. |
| InPosGuard | InPos guard checks if transaction belongs to the POS in the room. |