pub async fn complete_external_in_tx(
tx: &mut Transaction<'_, Postgres>,
callback_id: Uuid,
payload: Option<Value>,
run_lease: Option<i64>,
) -> Result<JobRow, AwaError>Expand description
Transaction-aware variant of complete_external (ADR-029). Callers
that want to dispatch follow-up specs in the same transaction as the
callback completion should drive this directly and own the
tx.commit(). See crate::admin::resolve_callback_in_tx for the
policy-evaluating counterpart.