#timer #periodic #cross-platform #zero-overhead

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

#29 in #periodic

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

~6MB
~94K SLoC