Zahari Dichev
12546d1d9c
tokio-timer: fix DelayQueue bug when inserting shorter delay ( #863 )
...
Reset the delay of the queue in case an item that expires sooner than the last inserted is put
into the queue.
2019-01-24 14:36:41 -08:00
Eliza Weisman
983e9d1b67
timer: Fix DelayQueue delay reset logic ( #851 )
2019-01-20 08:38:39 -05:00
Marek Kotewicz
c980837581
docs: missing links in tokio-timer::delay_queue ( #845 )
2019-01-13 21:20:08 +01:00
Benjamin Saunders
5321550534
Derive Clone for delay_queue::Key ( #730 )
...
Improves API ergonomics with minimal forwards-compatibility hazard.
2018-11-09 15:11:17 -08:00
Ben Boeckel
82c5baa09b
Spelling fixes ( #571 )
...
* docs: fix spelling and whitespace errors
2018-08-25 15:26:41 -04:00
Carl Lerche
d822b721b4
Add DelayQueue implementation to tokio-timer ( #550 )
...
This patch adds a `DelayQueue` to tokio_timer. The `DelayQueue` allows
inserting elements as well as specifying a time at which the element
should be returned to the user. This allows handling more complex
timeout situations.
2018-08-20 21:47:10 -07:00