interface documentation
class IReactorThreads(IReactorFromThreads, IReactorInThreads): (source)
Known implementations: twisted.internet.base.ReactorBase
Dispatch methods to be run in threads.
Internally, this should use a thread pool and dispatch methods to them.
Method | get |
Return the threadpool used by IReactorInThreads.callInThread . Create it first if necessary. |
Method | suggest |
Suggest the size of the internal threadpool used to dispatch functions passed to IReactorInThreads.callInThread . |
Inherited from IReactorFromThreads
:
Method | call |
Cause a function to be executed by the reactor thread. |
Inherited from IReactorInThreads
(via IReactorFromThreads
):
Method | call |
Run the given callable object in a separate thread, with the given arguments and keyword arguments. |
Suggest the size of the internal threadpool used to dispatch functions passed to IReactorInThreads.callInThread
.