Merge pull request #4 from norwood867/master

replacing trio.hazmat(Deprecated) with trio.lowlevel
This commit is contained in:
Bennett Kanuka 2020-06-10 10:22:23 -04:00 committed by GitHub
commit 8fa690f339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ class AsyncClient:
with cs:
while True:
await self._event_large_write.wait()
await trio.hazmat.wait_writable(self.socket)
await trio.lowlevel.wait_writable(self.socket)
self._client.loop_write()
def connect(self, host, port=1883, keepalive=60, bind_address="", bind_port=0, **kwargs):