Skip to main content

spawn

Function spawn 

Source
pub fn spawn(setup: Setup) -> Option<JoinHandle<()>>
Expand description

Start the background worker for a daemon, if it should have one.

Every refusal is quiet, final and stated once: a missing provider, a missing key, a missing conversations directory and a config opt-out all end here, with a line in the daemon log and a reason on the wire — never a retry loop, and never surprise API spend.