Skip to main content

Crate taquba_jobs

Crate taquba_jobs 

Source
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.
JobRunnerBuilder
Builder for a JobRunner. Created via JobRunner::builder.
RunnerHandle
A handle to a worker task spawned by WorkflowRuntime::spawn.
SubmitOptions
Per-submission overrides for JobRunner::submit_with.

Enums§

JoinError
The error produced by awaiting a JobHandle directly (via .await).

Traits§

Job
A unit of durable background work.

Functions§

payload_idempotency_key
Derive a stable idempotency key by hashing a job’s serialized form.