fn run_background_task<F>(&mut self, task: F)
	where
		F: FnOnce() + Send + 'static,
	{
		self.background_tasks.push(BackgroundThread::new(task))
	}
/// Run a background task in a separate thread.
Run a background task in a separate thread.
Run a background task in a separate thread .
fn run_background_task<F>(&mut self, task: F)
	where
		F: FnOnce() + Send + 'static,
	{
		self.background_tasks.push(BackgroundThread::new(task))
	}
fn run_background_task < F > ( & mut self , task : F ) where F : FnOnce ( ) + Send + ' static , { self . background_tasks . push ( BackgroundThread :: new ( task ) ) }
Run a background task in a separate thread.
Run a background task in a separate thread .
&mut self
task
F