marek-saji / okupando

Single-page application with single-task focus — checking if the toilet is occupied or not. Also a pun. 🚽🐼
ISC License
2 stars 4 forks source link

Queue and notification actions #11

Open marek-saji opened 5 years ago

marek-saji commented 5 years ago

Blocks #4.

When server gets free status, push only to first subscribed client. Push to next one if status changed from and then back to free or after it’s free for some time.

When queue is not empty and status changes to free: