py-libp2p/libp2p/network/typing.py
Chih Cheng Liang e763f57930
run isort
2019-08-05 11:47:23 +08:00

6 lines
159 B
Python

from typing import Awaitable, Callable
from libp2p.stream_muxer.abc import IMuxedStream
GenericProtocolHandlerFn = Callable[[IMuxedStream], Awaitable[None]]