klipper_shutdown!() { /* proc-macro */ }
Expand description

Sends a shutdown message to the remote end

klipper_shutdown!("Some error", cur_clock());

When called, immediately sends a static string and clock to the remote end. It is up to the user code to perform any further shutdown-related handling.