class WorkerThread(results_dispatcher, parent=None)[source]¶
Bases: sphinx.ext.autodoc.importer._MockObject
Asynchronous worker thread that can run tasks in a separate thread. This implementation
implements a custom run method that loops over tasks until asked to quit.