1 from typing import Any, Callable, NamedTuple, Tuple
3 class Event(NamedTuple):
6 action: Callable[..., Any]
7 argument: Tuple[Any, ...]
11 def __init__(self, timefunc: Callable[[], float] = ..., delayfunc: Callable[[float], None] = ...) -> None: ...
16 action: Callable[..., Any],
17 argument: Tuple[Any, ...] = ...,
18 kwargs: dict[str, Any] = ...,
24 action: Callable[..., Any],
25 argument: Tuple[Any, ...] = ...,
26 kwargs: dict[str, Any] = ...,
28 def run(self, blocking: bool = ...) -> float | None: ...
29 def cancel(self, event: Event) -> None: ...
30 def empty(self) -> bool: ...
32 def queue(self) -> list[Event]: ...