Go to the latest version of this document.

# ``twisted`.`internet`.`interfaces`.`IReactorInThreads``

interface documentation

`class 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 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`): (source)

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