Skip to main content

send_list

Function send_list 

Source
pub async fn send_list(client: &ControlClient, args: &PsArgs) -> Result<()>
Expand description

Query the daemon for its runs and print the listing.

With --all, an unreachable daemon is reported rather than fatal. A harness polling on an interval will eventually catch the daemon restarting, and the whole point of the flag is to be the thing it reconciles against: failing there, or reporting an empty live set, would tell it every run had died at once. Without --all the old behavior stands, because a listing of live runs with no daemon to list them is simply an error.