(&'static self, f: F)
| 751 | // ----------------------------------------------------------------------------- |
| 752 | // Thread pool operations |
| 753 | |
| 754 | impl ThreadPool { |
| 755 | /// Spawns a job into the thread pool. |
| 756 | /// |
| 757 | /// See also: [`Worker::spawn`] and [`spawn`]. |
| 758 | #[inline(always)] |
| 759 | pub fn spawn<M, S>(&'static self, work: S) -> S::Output |
| 760 | where |
| 761 | S: Spawn<M> + Send, |
no test coverage detected