Queue Rebuild State Machine

A rebuild-state flag on the queue marks "being rebuilt" versus "stable" (two operative values, whatever the enum declares), so re-entrant load requests return early and nothing snapshots the queue while it is half-built. Use when pagination fires twice for one scroll, when a restored queue comes back missing the track that was playing, or when a loading state never clears after an error.

maxrave-dev 9328fe2 5.8 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/queue-rebuild-state-machine commit 9328fe287f

Frequently asked questions

npx skillmds@latest add maxrave-dev/queue-rebuild-state-machine