mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
ttl as int
This commit is contained in:
@ -112,7 +112,7 @@ class IMuxedStream(ABC):
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def set_deadline(self, ttl: float) -> bool:
|
||||
def set_deadline(self, ttl: int) -> bool:
|
||||
"""
|
||||
set deadline for muxed stream
|
||||
:return: a new stream
|
||||
|
||||
Reference in New Issue
Block a user