Skip to main content

wait_for_collector

Function wait_for_collector 

Source
async fn wait_for_collector(
    client: &dyn IpcClient,
    destination: Endpoint,
) -> bool
Expand description

Wait until the collector at destination answers discover. Returns false if the local client cannot subscribe.

An error answer is retried, since a collector answers NoHandlerFound between starting its IPC client and registering its discover handler.