mirror of
https://github.com/fafhrd91/actix-net
synced 2025-01-31 11:32:10 +01:00
re-export timeout
This commit is contained in:
parent
52d03fa18c
commit
e76ea8e80c
@ -6,7 +6,7 @@ Added
|
|||||||
|
|
||||||
* Export `main` and `test` attribute macros
|
* Export `main` and `test` attribute macros
|
||||||
|
|
||||||
* Export `timer` module (re-export of tokio-timer)
|
* Export `time` module (re-export of tokio-timer)
|
||||||
|
|
||||||
|
|
||||||
## [1.0.0-alpha.1] - 2019-11-22
|
## [1.0.0-alpha.1] - 2019-11-22
|
||||||
|
@ -37,6 +37,7 @@ pub mod time {
|
|||||||
|
|
||||||
pub use tokio_timer::Interval;
|
pub use tokio_timer::Interval;
|
||||||
pub use tokio_timer::{delay, delay_for, Delay};
|
pub use tokio_timer::{delay, delay_for, Delay};
|
||||||
|
pub use tokio_timer::{timeout, Timeout};
|
||||||
|
|
||||||
/// Creates new `Interval` that yields with interval of `duration`. The first
|
/// Creates new `Interval` that yields with interval of `duration`. The first
|
||||||
/// tick completes immediately.
|
/// tick completes immediately.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user