Skip to main content

Module detached

Module detached 

Source
Expand description

A delivery that finishes whether or not the request that asked for it is still waiting (task #2485).

deliver can take longer than a sender waits: each tier for an agent this instance does not run is a network call with its own timeout (a LAN peer, the cloud relay’s token, lease and publish), and the last step of the chain is the one that holds the message for an agent that is stopped. The MCP client gave up after 10 s, hyper dropped the handler’s future with the connection, and the message was neither delivered nor held: the sender saw only “error sending request”, three times, for a stopped agent.

Functions§

deliver_to_completion 🔒
deliver, run as a task of its own: the answer is awaited here, but a caller that stops waiting does not cancel the delivery halfway through its tiers. A delivery that panics answers with a failure.