mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Support read(n=-1)
Now, `n=-1` indicates that we want to read until EOF. However, now we only read until we have no new message.
This commit is contained in:
committed by
Kevin Mai-Husan Chia
parent
9cb6ec1c48
commit
9f8276fa84
@ -1,5 +1,5 @@
|
||||
import asyncio
|
||||
from typing import Dict, Tuple, Optional
|
||||
from typing import Dict, Optional, Tuple
|
||||
|
||||
from multiaddr import Multiaddr
|
||||
|
||||
|
||||
Reference in New Issue
Block a user