1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-24 03:42:59 +01:00

actix-rt: expose JoinError (#271)

This commit is contained in:
Riley 2021-02-06 09:50:38 -06:00 committed by GitHub
parent ebb9cd055f
commit 9d0901e07f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
# Changes # Changes
## Unreleased - 2021-xx-xx ## Unreleased - 2021-xx-xx
* Expose JoinError from tokio. [#271]
[#271]: https://github.com/actix/actix-net/pull/271
## 2.0.0 - 2021-02-02 ## 2.0.0 - 2021-02-02

View File

@ -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.