Removes a job from the queue given its ID.
(&mut self, id: usize)
| 96 | |
| 97 | /// Removes a job from the queue given its ID. |
| 98 | pub fn remove(&mut self, id: usize) { self.jobs.retain(|job| job.id != id); } |
| 99 | |
| 100 | /// Collects the results of all finished jobs and handles any errors. |
| 101 | pub fn collect_results(&mut self) { |
no outgoing calls
no test coverage detected