Skip to main content

record_job_enqueue_intent

Function record_job_enqueue_intent 

Source
pub async fn record_job_enqueue_intent(
    pool: &DbPool,
    intent: &JobEnqueueIntent<'_>,
) -> Result<JobEnqueueIntentOutcome>
Expand description

Records a durable enqueue intent in an owned transaction.

The returned lifecycle status is a point-in-time observation; promotion can change it after this call returns.