Expand description
Typed single-function jobs for Taquba.
This crate re-exports taquba_workflow::jobs, where the
implementation lives. Depend on taquba-workflow and use its jobs
module directly; this crate receives no further development.
Re-exports§
pub use taquba;
Structs§
- JobContext
- The per-call context handed to
Job::run. - JobError
- The logical failure outcome of a job that ran and did not succeed.
- JobHandle
- A handle to a submitted job.
- JobRunner
- The orchestration service: submits jobs and spawns the worker that runs them.
- JobRunner
Builder - Builder for a
JobRunner. Created viaJobRunner::builder. - Runner
Handle - A handle to a worker task spawned by
WorkflowRuntime::spawn. - Submit
Options - Per-submission overrides for
JobRunner::submit_with.
Enums§
Traits§
- Job
- A unit of durable background work.
Functions§
- payload_
idempotency_ key - Derive a stable idempotency key by hashing a job’s serialized form.