2019-08-05 10:35:56 +08:00
|
|
|
from typing import Awaitable, Callable
|
2019-08-05 11:22:44 +08:00
|
|
|
|
2019-08-05 11:17:38 +08:00
|
|
|
from libp2p.stream_muxer.abc import IMuxedStream
|
2019-08-05 10:35:56 +08:00
|
|
|
|
|
|
|
GenericProtocolHandlerFn = Callable[[IMuxedStream], Awaitable[None]]
|