mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-07 13:40:56 +00:00
add still needed TYPE_CHECK
This commit is contained in:
4
libp2p/network/typing.py
Normal file
4
libp2p/network/typing.py
Normal file
@ -0,0 +1,4 @@
|
||||
from typing import Awaitable, Callable
|
||||
from libp2p.stream_muxer.muxed_stream_interface import IMuxedStream
|
||||
|
||||
GenericProtocolHandlerFn = Callable[[IMuxedStream], Awaitable[None]]
|
||||
Reference in New Issue
Block a user