def shutdown(self, block=False):
        """Shutdown the ThreadPool.

        Kwargs:
            - block (bool): To block for confirmations or not

        """
        x = self.executor.shutdown(wait=block)
        logger.debug("Done with executor shutdown")
        return x
def shutdown(self, block=False):
        
        x = self.executor.shutdown(wait=block)
        logger.debug("Done with executor shutdown")
        return x
def shutdown ( self , block = False ) : x = self . executor . shutdown ( wait = block ) logger . debug ( "Done with executor shutdown" ) return x
Shutdown the ThreadPool.

        Kwargs:
            - block (bool): To block for confirmations or not
Shutdown the ThreadPool .