-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Context #26
Comments
Why? What thing can solve Context in this package? |
@xhit Context will allow to more accurately control the connection to the server and sending messages, for example using context.WithTimeout |
Timeout is implemented to connect and to send. |
I have seen that |
The user can manage each posting. I think Context, in this tiny package, solves nothing. Maybe I'm wrong, and because I'm not fan of Context implementation because is like a virus and only add obscurity to the code. I will left this issue open. I will accept a PR only if Context implementation can solve anything here. |
It's time to V3 so make all your ideas here: #53 |
Context support is important is to support cancellation, and would definitely be useful here. In case it's helpful to know, I'm choosing not to use this package due to the lack of context/cancellation support. |
Can you make connecting to the server and sending messages using context?
The text was updated successfully, but these errors were encountered: