Function interrupt

Source
pub fn interrupt() -> Cmd
Expand description

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).