Skip to main content

run_engine_loop

Function run_engine_loop 

Source
pub async fn run_engine_loop<S, H, U, E, Tr, C>(
    shell: ExecutionShell,
    tick_rx: Receiver<Tick>,
    tick_tx: Sender<Tick>,
    deps: EngineDeps<S, H, U, E, C>,
    shutdown_rx: Receiver<()>,
    transports: TransportTable<Tr>,
    transport_rx: UnboundedReceiver<TransportRegistration<Tr>>,
)
where S: Storage + Send + Sync + 'static, H: HttpRequester + Send + Sync + 'static, U: FileUploader + Send + Sync + 'static, E: BatchSink + Send + Sync + 'static, Tr: FrameSender + Send + Sync + 'static, C: Clock,