Merge pull request #7 from mhgreen/master
change trio.hazmat to trio.lowlevel in read
This commit is contained in:
commit
fbaca7a471
@ -67,7 +67,7 @@ class AsyncClient:
|
||||
with cs:
|
||||
while True:
|
||||
await self._event_should_read.wait()
|
||||
await trio.hazmat.wait_readable(self.socket)
|
||||
await trio.lowlevel.wait_readable(self.socket)
|
||||
self._client.loop_read()
|
||||
|
||||
async def _loop_write(self):
|
||||
|
Loading…
Reference in New Issue
Block a user