pub fn interrupt() -> Cmd
Creates a command that interrupts the application.
This command sends an InterruptMsg to the program, typically used to signal an external interruption (e.g., Ctrl+C).
InterruptMsg