Concurrency in python with ThreadPoolExecutor

In this section, we review the ThreadPoolExecutor class that provides an interface to execute tasks asynchronously.