-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: udp connection #8
Conversation
it'd be great if you could add docs to the procs. |
Could we use the support for exceptions in async procs? |
return | ||
trace "UDP write", msg | ||
try: | ||
await self.udp.sendTo(raddr, msg) |
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.
@arnetheduck In this case where we don't need to use the actual value that will be returned by the Future
, should we do like it's done here or remove the await/async and return the Future from sendTo
?
Wrap the DatagramTransport from chronos.
It's used to simply store the message and the remote address for the underlying protocols