Fix close behavior

This commit is contained in:
mhchia
2019-09-09 15:45:35 +08:00
parent b2146c5268
commit be2c0f122a
8 changed files with 149 additions and 21 deletions

View File

@ -23,7 +23,7 @@ class INetStream(ReadWriteCloser):
"""
@abstractmethod
async def reset(self) -> bool:
async def reset(self) -> None:
"""
Close both ends of the stream.
"""