A simple easy to use wrapper around Ctrl-C signal.
```rust
use anyhow::{Context, Result, Ok}; use blockuntilsigint::block;
async fn main() -> Result<()> {
block(async {
println!("Hello, world!");
}).await?;
Ok(())
}
```
git checkout -b my-new-feature
)git add .
)git commit -m 'Add some feature'
)git push origin my-new-feature
)If you discover a security vulnerability, please send an e-mail to pefish@qq.com. All security vulnerabilities will be promptly addressed.
This project is licensed under the Apache License.