compio-signal
Signal handling for compio.
This crate provides async signal handling capabilities for compio applications. It allows you to receive and handle OS signals (like SIGINT, SIGTERM on Unix, or Ctrl-C on Windows) in an async context.
Usage
Use compio directly with signal feature enabled:
Example:
use ctrl_c;
println!;
let mut sigint = ctrl_c.await?;
println!;