mirror of
https://github.com/fafhrd91/actix-net
synced 2025-09-01 02:36:59 +02:00
actix-rt: expose JoinError (#271)
This commit is contained in:
@@ -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
|
||||||
|
@@ -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.
|
||||||
|
Reference in New Issue
Block a user