Workflow example · Edition 1
The first waitlist
Offer an available place once
Trace two guests joining a waiting list. Repeat one join, offer a seat twice, then try accepting as the other guest. These tiny cases expose the rules a booking system needs.
From the source
The waitlist example handles duplicate joins, repeat seat offers and a mismatched guest in an in-memory example.
Inspect waitlist.mjs ↗