interface documentation

class twisted.internet.interfaces.IReactorInThreads(Interface): (source)

Known subclasses: twisted.internet.interfaces.IReactorThreads

View In Hierarchy

This interface contains the methods exposed by a reactor which will let you run functions in another thread.

Present Since15.4
Method callInThread Run the given callable object in a separate thread, with the given arguments and keyword arguments.
def callInThread(callable, *args, **kwargs): (source)

Run the given callable object in a separate thread, with the given arguments and keyword arguments.

ParameterscallableUndocumented (type: Callable[..., Any])
argsUndocumented (type: object)
kwargsUndocumented (type: object)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.