Files
@ d7ea6d473bf6
Branch filter:
Location: light9/stubs/twisted/internet/__init__.pyi - annotation
d7ea6d473bf6
1.5 KiB
text/plain
don't let <video> play and get corrected when we're out of bounds, which made a bad flicker
Ignore-this: 2eb8ea8a5399b7ccd00841654ff620f0
Ignore-this: 2eb8ea8a5399b7ccd00841654ff620f0
0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 4ce991cdacdb f1f426af34ed f1f426af34ed 0f0ff27e55a3 f1f426af34ed f1f426af34ed 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 4ce991cdacdb | # Stubs for twisted.internet (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional
from .interfaces import IDelayedCall, IAddress, IListeningPort
import twisted.internet.protocol
class ReactorType: # abridged
def listenTCP(self, port: int, factory: twisted.internet.protocol.ServerFactory, backlog: Optional[int] =50, interface: str = ...) -> IListeningPort: ...
def connectTCP(self, host :bytes, port: int, factory: twisted.internet.protocol.ClientFactory, timeout: Optional[float] = 30): ...
def seconds(self) -> None: ...
def callLater(self, delay: Any, callable: Any, *args: Any, **kw: Any) -> IDelayedCall: ...
def getDelayedCalls(self) -> None: ...
def callFromThread(self, callable: Any, *args: Any, **kw: Any) -> None: ...
def callInThread(self, callable: Any, *args: Any, **kwargs: Any) -> None: ...
running: Any = ...
def resolve(self, name: Any, timeout: int = ...) -> None: ...
def run(self) -> None: ...
def stop(self) -> None: ...
def crash(self) -> None: ...
def iterate(self, delay: int = ...) -> None: ...
def fireSystemEvent(self, eventType: Any) -> None: ...
def addSystemEventTrigger(self, phase: Any, eventType: Any, callable: Any, *args: Any, **kw: Any) -> None: ...
def removeSystemEventTrigger(self, triggerID: Any) -> None: ...
def callWhenRunning(self, callable: Any, *args: Any, **kw: Any) -> None: ...
reactor = ReactorType()
|