Function follow_heating::main_loop

source ·
pub(crate) fn main_loop<B, H, F>(
    brain: B,
    io_bundle: IOBundle,
    rt: Runtime,
    backup_supplier: F,
    time_provider: impl TimeProvider,
    logging_handle: LoggingHandle<EnvFilter, impl Subscriber>,
    db_updater: JoinHandle<()>
)
where B: Brain, H: HeatingControl, F: FnOnce() -> H,