mirror of
https://github.com/fafhrd91/actix-net
synced 2025-08-31 19:46:59 +02:00
add actix-rt::task (#245)
This commit is contained in:
@@ -63,3 +63,8 @@ pub mod time {
|
||||
pub use tokio::time::{sleep, sleep_until, Sleep};
|
||||
pub use tokio::time::{timeout, Timeout};
|
||||
}
|
||||
|
||||
/// task management.
|
||||
pub mod task {
|
||||
pub use tokio::task::{spawn_blocking, yield_now, JoinHandle};
|
||||
}
|
||||
|
Reference in New Issue
Block a user