#timer #periodic #cross-platform #zero

tokio-periodic

Cross-platform, mostly-0-cost asynchronous periodic timers

2 releases

Uses old Rust 2015

0.1.1 Apr 1, 2017
0.1.0 Jan 29, 2017

#2115 in Asynchronous

Download history 16/week @ 2024-07-27 36/week @ 2024-08-24 85/week @ 2024-08-31 218/week @ 2024-09-07 124/week @ 2024-09-14 107/week @ 2024-09-21 71/week @ 2024-09-28 137/week @ 2024-10-05 105/week @ 2024-10-12 211/week @ 2024-10-19 256/week @ 2024-10-26 296/week @ 2024-11-02

877 downloads per month

ISC license

23KB
447 lines

Travis CI Appveyor CI

Asynchronous, cross-platform periodic timers

These timers (unlike in tokio-timer, which implements this in user-space) are implemented using the OS facilities in as zero-overhead manner as possible.

Usage

In Cargo.toml:

[dependencies]
tokio-periodic = "0.1"

Then, in your crate root add:

extern crate tokio_periodic;

Dependencies

~6.5MB
~96K SLoC