March 2019
Beginner
490 pages
12h 40m
English
In this section, we are going to explain the concurrent.futures module, whose objective is to introduce a layer of simplification on the modules that are threading and multiprocessing.
concurrent.futures is a module that is part of the standard Python library and provides a high-level abstraction layer where the threads are modeled as asynchronous tasks.
The term futures is synonymous with promises, delay, or deferred when working with asynchronous tasks. In general, regardless of what you call it, you can see it as a pending result. Futures are a replacement for a result that is not yet available, usually because their computation has not yet ended, or their transfer over the network has not been ...
Read now
Unlock full access