periodic_timer

Crates.ioperiodic_timer
lib.rsperiodic_timer
version0.1.1
sourcesrc
created_at2022-07-30 03:24:31.107313
updated_at2022-07-30 03:26:29.161774
descriptionsimple Rust implementation of periodic timer.
homepage
repositoryhttps://github.com/keg66/periodic_timer
max_upload_size
id635311
size19,472
(keg66)

documentation

README

Periodic Timer

periodic_timer is a simple Rust implementation of periodic timer.

Usage

use periodic_timer::Timer;

// Prepare callback function to be periodically executed
let callback = || println!("hello timer!");

// Create new timer
let timer = Timer::new(1.0, callback);

// Start timer
timer.start();
Commit count: 16

cargo fmt