RiveWorker

CommandQueue is named to match the underlying core C++ class, which reflects its algorithm: a queue of commands that are dispatched to a command server which receives them and operates on Rive files.

But for the purposes of a public API, it makes more sense to think of this less in terms of its algorithm and more in terms of its purpose, which is to dispatch work and manage memory for a worker thread. This type alias preserves the internal name to continue matching the C++ class it represents while also exposing a more semantic name for users.