def _waitForThread(self):
        return threads.deferToThread(time.sleep, 0)
The reactor's threadpool is only available when the reactor is running,
dataset/ETHPy150Open twisted/twisted/twisted/test/test_threads.py/ReactorThreadsTests._waitForThread