module documentation

Undocumented

Class CallLaterOnce Schedule a function to be called in the next reactor loop, but only if it hasn't been already scheduled since the last time it ran.
Function get_asyncio_event_loop_policy Undocumented
Function install_reactor Installs the :mod:`~twisted.internet.reactor` with the specified import path. Also installs the asyncio event loop with the specified import path if the asyncio reactor is enabled
Function is_asyncio_reactor_installed Undocumented
Function listen_tcp Like reactor.listenTCP but tries different ports in a range.
Function set_asyncio_event_loop Sets and returns the event loop with specified import path.
Function verify_installed_asyncio_event_loop Undocumented
Function verify_installed_reactor Raises :exc:`Exception` if the installed :mod:`~twisted.internet.reactor` does not match the specified import path.
Function _get_asyncio_event_loop Undocumented
def get_asyncio_event_loop_policy(): (source)

Undocumented

def install_reactor(reactor_path, event_loop_path=None): (source)

Installs the :mod:`~twisted.internet.reactor` with the specified import path. Also installs the asyncio event loop with the specified import path if the asyncio reactor is enabled

def is_asyncio_reactor_installed(): (source)

Undocumented

def listen_tcp(portrange, host, factory): (source)

Like reactor.listenTCP but tries different ports in a range.

def set_asyncio_event_loop(event_loop_path): (source)

Sets and returns the event loop with specified import path.

def verify_installed_asyncio_event_loop(loop_path): (source)

Undocumented

def verify_installed_reactor(reactor_path): (source)

Raises :exc:`Exception` if the installed :mod:`~twisted.internet.reactor` does not match the specified import path.

def _get_asyncio_event_loop(): (source)

Undocumented