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
7pub(crate) mod r#async;
8pub(crate) mod common;
9pub(crate) mod sync;
10
11pub(crate) use std::{any::Any, panic::set_hook, sync::Arc};
12
13pub(crate) use tokio::task::JoinError;
14
15pub use {r#async::*, common::*, sync::*};