pub fn with_task<F: FnOnce(Counter) + Send + 'static>(
        mut self, task: F
    ) -> Self {
        self.start(task);
        self
    }
/// Starts a function in a separate thread, and monitor the progress.
///
/// Chainable variant.
Starts a function in a separate thread, and monitor the progress.
Chainable variant.
Starts a function in a separate thread and monitor the progress . Chainable variant .
pub fn with_task<F: FnOnce(Counter) + Send + 'static>(
        mut self, task: F
    ) -> Self {
        self.start(task);
        self
    }
pub fn with_task < F : FnOnce ( Counter ) + Send + ' static > ( mut self , task : F ) -> Self { self . start ( task ) ; self }
Starts a function in a separate thread, and monitor the progress.
Starts a function in a separate thread and monitor the progress .
mut self
task
F
mut self
task
F