-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
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
Mention timeout
unit in ENetConnection::service
docs
#93927
Mention timeout
unit in ENetConnection::service
docs
#93927
Conversation
ENetConnection::service()
docstimeout
unit in ENetConnection::service
docs
timeout
unit in ENetConnection::service
docstimeout
unit in ENetConnection::service
docs
It is very unorthodox to mention the only parameter of this method in its own line at the very bottom of the description. |
f6f174b
to
0a822af
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this is an upstream ENet function, and the docs are verbatim ENet docs.
timeout
is a bit tricky here: see discussion here and here.
With these possible footguns, we should maybe add some further advice and information here, or at least point to it elsewhere.
That said, that can be followup work or an issue, this PR is good and correct as far as I can see. Thanks for taking the time to improve something you had to find out yourself for everyone else :)
Thanks! And congrats for your first merged Godot contribution 🎉 |
Add a note about
timeout
field being in milliseconds.Had to test locally to figure it out haha.