pub fn run(&mut self, http: &Arc<http::Http>) {
    info!("Running featrues");
    // let http_clone = http.clone();
    // let tc_clone = self.thread_control.clone();
    // thread::spawn(move || event::check_events(http_clone, || ThreadControl::check(&tc_clone)));
    let http_clone = http.clone();
    let tc_clone = self.thread_control.clone();
    thread::spawn(|| airtable::check(http_clone, move || ThreadControl::check(&tc_clone)));
    let http_clone = http.clone();
    let tc_clone = self.thread_control.clone();
    thread::spawn(|| frontline::check(http_clone, move || ThreadControl::check(&tc_clone)));
  }
/// Spawn a Thread per feature to run in background
Spawn a Thread per feature to run in background
Spawn a Thread per feature to run in background
pub fn run(&mut self, http: &Arc<http::Http>) {
    info!("Running featrues");
    // let http_clone = http.clone();
    // let tc_clone = self.thread_control.clone();
    // thread::spawn(move || event::check_events(http_clone, || ThreadControl::check(&tc_clone)));
    let http_clone = http.clone();
    let tc_clone = self.thread_control.clone();
    thread::spawn(|| airtable::check(http_clone, move || ThreadControl::check(&tc_clone)));
    let http_clone = http.clone();
    let tc_clone = self.thread_control.clone();
    thread::spawn(|| frontline::check(http_clone, move || ThreadControl::check(&tc_clone)));
  }
pub fn run ( & mut self , http : & Arc < http :: Http > ) { info ! ( " " ) ; // let http_clone = http.clone(); // let tc_clone = self.thread_control.clone(); // thread::spawn(move || event::check_events(http_clone, || ThreadControl::check(&tc_clone))); let http_clone = http . clone ( ) ; let tc_clone = self . thread_control . clone ( ) ; thread :: spawn ( | | airtable :: check ( http_clone , move | | ThreadControl :: check ( & tc_clone ) ) ) ; let http_clone = http . clone ( ) ; let tc_clone = self . thread_control . clone ( ) ; thread :: spawn ( | | frontline :: check ( http_clone , move | | ThreadControl :: check ( & tc_clone ) ) ) ; }
Spawn a Thread per feature to run in background
Spawn a Thread per feature to run in background
&mut self
http
&Arc<http::Http>
&mut self
http
&Arc<http::Http>