This gist contains a Python implementation of QueuePool, a custom class that extends the functionality of multiprocessing.pool.Pool by integrating a shared queue for inter-process communication.
- Type-safe implementation using generics
- Context manager support for easy resource management
- Iterable results through a generator method
- Works with
apply_asyncinsofar as, this generator will block until all processes therein are completed
- Works with