We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asyncio.AbstractServer uses the following idiom:
asyncio.AbstractServer
close()
wait_closed()
Connection.wait_closed() has different behavior: it sends disconnection signal to server and after that closes connection.
Connection.wait_closed()
I guess rename it to .ensure_closed().
.ensure_closed()
The text was updated successfully, but these errors were encountered:
+1. I missed idea behind wait_closed()
Sorry, something went wrong.
4897b68
No branches or pull requests
asyncio.AbstractServer
uses the following idiom:close()
closes connection asynchronously, it's regular function.wait_closed()
is a coroutine that waits for actual closing.Connection.wait_closed()
has different behavior: it sends disconnection signal to server and after that closes connection.I guess rename it to
.ensure_closed()
.The text was updated successfully, but these errors were encountered: