Registry / async / schedule-recv

schedule-recv

JSON →
library0.1.0rscratesunverified

Create delayed and periodic Receivers.

# Cargo.toml [dependencies] schedule_recv = "0.1.0"
INSTALL
IMPORT
SIG · SCHEDULE-RECV
S
schedule-recv
asyncrustv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

periodic
use schedule_recv::periodic;

Creates a periodic receiver that ticks every second.

use schedule_recv::periodic; use std::time::Duration; fn main() { let rx = periodic(Duration::from_secs(1)); for _ in 0..3 { rx.recv().unwrap(); println!("tick"); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
Resources
schedule-recv — cargo add schedule-recv · libregistry