Skip to main content

spawn_runner

Function spawn_runner 

Source
pub fn spawn_runner(
    engine: Engine,
    exchanges: Vec<Arc<dyn Exchange>>,
    instruments: Vec<InstrumentId>,
    config: RunnerConfig,
) -> (JoinHandle<()>, UnboundedSender<()>)
Expand description

Spawn the runner as a background task