pub fn run_background_task<F>(&mut self, task: F)
	where
		F: FnOnce() + Send + 'static,
	{
		self.context.run_background_task(task);
	}
/// Run a task in a background thread and register it with the context.
///
/// The task will be executed in a different thread than the context.
/// Currently, each task is spawned in a separate thread.
/// In the future, tasks may be run in a dedicated thread pool.
///
/// The background task will be joined before the process is terminated when you use [`Self::exit()`] or one of the other exit functions of this crate.
Run a task in a background thread and register it with the context.
The task will be executed in a different thread than the context.
Currently, each task is spawned in a separate thread.
In the future, tasks may be run in a dedicated thread pool.

The background task will be joined before the process is terminated when you use [`Self::exit()`] or one of the other exit functions of this crate.
Run a task in a background thread and register it with the context . The task will be executed in a different thread than the context . Currently each task is spawned in a separate thread . In the future tasks may be run in a dedicated thread pool . The background task will be joined before the process is terminated when you use [ ` Self :: exit () ` ] or one of the other exit functions of this crate .
pub fn run_background_task<F>(&mut self, task: F)
	where
		F: FnOnce() + Send + 'static,
	{
		self.context.run_background_task(task);
	}
pub fn run_background_task < F > ( & mut self , task : F ) where F : FnOnce ( ) + Send + ' static , { self . context . run_background_task ( task ) ; }
Run a task in a background thread and register it with the context.
Run a task in a background thread and register it with the context .
&mut self
task
F