recoverable_spawn/lib.rs
1//! recoverable-spawn
2//!
3//! A thread that supports automatic recovery from panics,
4//! allowing threads to restart after a panic. Useful for resilient
5//! and fault-tolerant concurrency in network and web programming.
6
7mod r#async;
8mod common;
9mod sync;
10
11pub use {r#async::*, common::*, sync::*};
12
13use std::{any::Any, panic::set_hook, sync::Arc};
14
15use tokio::task::JoinError;