/// Number of currently active tasks.
Number of currently active tasks.
Number of currently active tasks .
pub fn tasks(&self) -> usize {
        let state = self.state.lock();
        // the strong count is always `1 + jobs` because of the Arc we hold within Self
        Arc::strong_count(&state.task_refs).saturating_sub(1)
    }
pub fn tasks ( & self ) -> usize { let state = self . state . lock ( ) ; // the strong count is always `1 + jobs` because of the Arc we hold within Self Arc :: strong_count ( & state . task_refs ) . saturating_sub ( 1 ) }
Number of currently active tasks.
Number of currently active tasks .
&self