mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
17 lines
301 B
Python
17 lines
301 B
Python
# Copied from https://github.com/ethereum/async-service
|
|
|
|
from collections.abc import (
|
|
Awaitable,
|
|
)
|
|
from types import (
|
|
TracebackType,
|
|
)
|
|
from typing import (
|
|
Any,
|
|
Callable,
|
|
)
|
|
|
|
EXC_INFO = tuple[type[BaseException], BaseException, TracebackType]
|
|
|
|
AsyncFn = Callable[..., Awaitable[Any]]
|