pub async fn enter_callback_wait(
pool: &PgPool,
job_id: i64,
run_lease: i64,
callback_id: Uuid,
) -> Result<bool, AwaError>Expand description
Transition a running job to waiting_external for the given callback.
Returns Ok(true) if the transition succeeded, Ok(false) if the row
did not match (the caller should check for an early-resume race).