mirror of https://github.com/fafhrd91/actix-net
actix-rt: expose JoinError
This commit is contained in:
parent
a77b70aed2
commit
505cf52929
|
@ -91,7 +91,7 @@ pub mod time {
|
||||||
pub mod task {
|
pub mod task {
|
||||||
//! Task management (Tokio re-exports).
|
//! Task management (Tokio re-exports).
|
||||||
|
|
||||||
pub use tokio::task::{spawn_blocking, yield_now, JoinHandle};
|
pub use tokio::task::{spawn_blocking, yield_now, JoinError, JoinHandle};
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Spawns a future on the current thread.
|
/// Spawns a future on the current thread.
|
||||||
|
|
Loading…
Reference in New Issue