Debian Codegraph @

asusrouter/tools/types.py

raw
1 """Types tools."""
2
3 from __future__ import annotations
4
5 from collections.abc import Awaitable, Callable
6 from typing import Any
7
8 # Universal sync callback
9 ARCallableType = Callable[..., Any]
10 # Universal async callback
11 ARCallbackType = Callable[..., Awaitable[Any]]