spawn

Function spawn 

Source
pub fn spawn(
    db: Arc<Db>,
    rx: EventLogRx,
    shutdown: ShutdownToken,
) -> JoinHandle<()>
Expand description

Spawn the writer task. Returns the JoinHandle for the runtime drain.