recoverable-spawn
A thread that supports automatic recovery from panics, allowing threads to restart after a panic. Useful for resilient and fault-tolerant concurrency in network and web programming.
Installation
To use this crate, you can run cmd:
cargo add recoverable-spawn
Use
recoverable_spawn
use *;
let msg: &str = "test";
let handle: = recoverable_spawn;
let _ = handle.join;
let handle: = recoverable_spawn_with_error_handle;
let _ = handle.join;
recoverable_spawn_with_error_handle
use *;
let msg: &str = "test";
let handle: = recoverable_spawn_with_error_handle;
let _ = handle.join;
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
Contact
For any inquiries, please reach out to the author at ltpp-universe root@ltpp.vip.