7.2.2.6. shutdown_executors

shutdown_executors(wait=True)[source]

Clean-up the resources of all initialized executors.

Parameters:wait (bool) – If True then shutdown will not return until all running futures have finished executing and the resources used by the executors have been reclaimed.
Returns:Shutdown pool executor.
Return type:dict[str,dict]