view stubs/twisted/internet/threads.pyi @ 2153:a1b30c3463b4

add some old docs that still look good
author drewp@bigasterisk.com
date Wed, 17 May 2023 19:36:07 -0700
parents 5c1b662c0263
children
line wrap: on
line source

# Stubs for twisted.internet.threads (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from typing import Any

def deferToThreadPool(reactor: Any, threadpool: Any, f: Any, *args: Any, **kwargs: Any): ...
def deferToThread(f: Any, *args: Any, **kwargs: Any): ...
def callMultipleInThread(tupleList: Any) -> None: ...
def blockingCallFromThread(reactor: Any, f: Any, *a: Any, **kw: Any): ...