ic-cdk-timers 0.2.0-beta.0

Timers library for the Rust CDK.
Documentation
ic-cdk-timers-0.2.0-beta.0 has been yanked.

ic-cdk-timers

A library for Internet Computer canisters to schedule one-shot or repeating timers, to execute a function at some point in the future.

Example

ic_cdk_timers::set_timer(Duration::from_secs(1), || ic_cdk::println!("Hello from the future!"));