Skip to main content

spawn

Function spawn 

Source
pub(crate) fn spawn(
    feed: Arc<FleetFeed>,
    id_store: Arc<Store>,
    config: Arc<ConfigState>,
    headless: bool,
    token: CancellationToken,
)
Expand description

Start the publisher. No-op without a WAN identity store (nothing to sign with). headless is srv’s --headless (policy). Stops with token (srv shutdown).