pub fn spawn(
backend: Arc<dyn DeviceBackend>,
registry: PrinterRegistry,
) -> JoinHandle<()>Expand description
Spawn the polling task. Returns immediately. Drop the returned
tokio::task::JoinHandle to abort the loop on server shutdown.
pub fn spawn(
backend: Arc<dyn DeviceBackend>,
registry: PrinterRegistry,
) -> JoinHandle<()>Spawn the polling task. Returns immediately. Drop the returned
tokio::task::JoinHandle to abort the loop on server shutdown.