Registry / utility / bitcoin-scheduler

bitcoin-scheduler

JSON →
library0.1.16-alpha.0rscratesunverified

Simple class for background tasks that should be run periodically or once after a while.

# Cargo.toml [dependencies] bitcoin-scheduler = "0.1.16-alpha.0"
INSTALL
IMPORT
SIG · BITCOIN-SCHEDULER
B
bitcoin-scheduler
utilityrustv0.1.16-alpha.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.

Scheduler
use bitcoin_scheduler::Scheduler;

Schedule a periodic background task.

use bitcoin_scheduler::Scheduler; fn main() { let mut sched = Scheduler::new(); sched.add_periodic("task", std::time::Duration::from_secs(5), || { println!("Running periodic task"); }); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.16-alpha.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
bitcoin-scheduler — cargo add bitcoin-scheduler · libregistry