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:
parent
ebb9cd055f
commit
9d0901e07f
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user