__init__.pyi 311 B

123456789101112
  1. from typing import Any, Generic, TypeVar
  2. from frozenlist import FrozenList
  3. __all__ = ("Signal",)
  4. _T = TypeVar("_T")
  5. class Signal(FrozenList[_T], Generic[_T]):
  6. def __init__(self, owner: Any) -> None: ...
  7. def __repr__(self) -> str: ...
  8. async def send(self, *args: Any, **kwargs: Any) -> None: ...