Advanced Futures Usage

Learn about advanced future usage in Python.

futurist.ThreadPoolExecutor

As we have seen in Using Futures, Future objects are an easy way to parallelize tasks in your application. The futurist library has been built on top of concurrent.futures and offers a few bonuses that I would like to introduce here. It is (almost) a transparent replacement for concurrent.futures, so any code should be straightforward in terms of adapting to this library, which is itself entirely based on concurrent.futures.

Get hands-on with 1200+ tech skills courses.