Skip to main content

spawn

Function spawn 

Source
pub fn spawn(
    cfg: &LogShipCfg,
    edge_id: String,
    shutdown: Receiver<bool>,
) -> Option<LogShipper>
Expand description

Build the shipper and spawn its background task. None when shipping is disabled.