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

5 lines
132 B
Python

from asyncio import StreamReader, StreamWriter
from typing import Callable
THandler = Callable[[StreamReader, StreamWriter], None]