Skip to main content

with_delivery_id

Function with_delivery_id 

Source
pub async fn with_delivery_id<F>(id: String, f: F) -> <F as Future>::Output
where F: Future,
Expand description

Runs f with id as the A2A-Delivery-Id of the deliveries it makes.

It is the outbox’s row id, the same from every replica and across a restart (ADR 0037). The bundled sender sends it; a custom sender reads it with current_delivery_id.