Reentrant Event Safety

Queue Mode

Without queue: true, calling send() from inside a subscriber is silently dropped โ€” the machine is mid-transition and can't accept events. With queue mode enabled, those sends are enqueued and drained in order once the current transition finishes. Press the button and watch the event chain unfold.

event log
๐Ÿ”Œ WebSocket message handlers that react to state changes
โ›“ Subscriber chains where one transition triggers the next
๐Ÿ–ฑ Nested UI events (drag โ†’ snap โ†’ settle)
๐Ÿ“ฆ Batch processing flows with chained steps