Class ThreadPoolExecutor
Declaration
class ThreadPoolExecutor(_base.Executor)
source linkMethods
▶ def __init__(self, max_workers=None, thread_name_prefix="") Initializes a new ThreadPoolExecutor instance.
Args:
max_workers: The maximum number of threads that can be used to
execute the given calls.
thread_name_prefix: An optional name prefix to give our threads.
Overrides
This method is overriden in:
Overrides
This method is overriden in:
▷ def submit(self, fn, *args, **kwargs)
Subclasses