Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

Target dispatch (bd-bfb732): cast InjectionCommands to the endpoints of a resolved config target, mapping each Transport to a concrete sender, with group fan-out and PER-ENDPOINT ERROR ISOLATION (one failed endpoint never aborts the rest) plus an aggregate report.

Structs§

DispatchReport
Aggregate report for a fan-out dispatch.
EndpointOutcome
Outcome for one endpoint in a fan-out.
LiveDispatcher
Persistent fan-out dispatcher for a streaming cast (bd-772cb2): builds ONE hold-open sender per resolved endpoint, then routes each command to all of them with PER-ENDPOINT ERROR ISOLATION (a failed endpoint logs but never aborts the stream; tcp/relay reconnect on transient errors). Unlike the one-shot dispatch, tcp/relay endpoints keep their connection open across the whole stream instead of reconnecting per command.

Functions§

dispatch
Dispatch cmds to every endpoint, isolating per-endpoint failures. When dry_run is set, render what WOULD be sent without executing.