Registry / async / background-jobs-core

background-jobs-core

JSON →
library0.20.0rscratesunverified

Core types for implementing an asynchronous jobs processor.

# Cargo.toml [dependencies] background-jobs-core = "0.20.0"
INSTALL
IMPORT
SIG · BACKGROUND-JOBS-CO
B
background-jobs-core
asyncrustv0.20.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.

Job
use background_jobs_core::Job;

Create a new background job.

use background_jobs_core::Job; fn main() { let job = Job::new("my_job", |_| Ok(())); // job.run(); }
Debug
Known issues
gotchaRequires an async runtime like Tokio or async-std.
fix
Add tokio or async-std as a dependency and set up a runtime.
affects: >=0.20.0
Upgrade
Version history
0.20.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
39 hits · last 30 days
node
32
Resources
background-jobs-core — cargo add background-jobs-core · libregistry