Add the missing StreamID class
This commit is contained in:
parent
d35b8ffc64
commit
34a4d7b0ed
6
libp2p/stream_muxer/mplex/datastructures.py
Normal file
6
libp2p/stream_muxer/mplex/datastructures.py
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
from typing import NamedTuple
|
||||||
|
|
||||||
|
|
||||||
|
class StreamID(NamedTuple):
|
||||||
|
channel_id: int
|
||||||
|
is_initiator: bool
|
Loading…
Reference in New Issue
Block a user