class Rooibos::Command::Exit

Terminates the application.

Users press a key or click a button to quit. The update function returns a command, and the runtime executes it. Termination is special: the runtime detects this sentinel before dispatching and breaks the loop.

Prefer the Command.exit factory method for convenience.

Example

# Using the factory method (recommended)
[model, Command.exit]

# Using the class directly
[model, Exit.new]