Equivalent of the apply() builtin function. It blocks till the result is ready.
(self, func, args=(), kwds=dict())
| 112 | self._workers.append(thr) |
| 113 | |
| 114 | def apply(self, func, args=(), kwds=dict()): |
| 115 | """Equivalent of the apply() builtin function. It blocks till |
| 116 | the result is ready.""" |
| 117 | return self.apply_async(func, args, kwds).get() |
| 118 | |
| 119 | def map(self, func, iterable, chunksize=None): |
| 120 | """A parallel equivalent of the map() builtin function. It |
no test coverage detected