interface documentation

class IReactorInThreads(Interface):

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 Since
15.4
Method callInThread Run the given callable object in a separate thread, with the given arguments and keyword arguments.
def callInThread(callable: Callable[..., Any], *args: object, **kwargs: object): ΒΆ

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