-
Notifications
You must be signed in to change notification settings - Fork 336
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
add context control for pub cmd and add async method #1147
Comments
I have find other mistake in the client code:
The state should be treated as atomic value. |
The code may use chan any to instead multi select cases. The multi cases may cause performance issue. And chan any interface
I have test some cases for this(cpu: 3.3GHZ): |
the Receive is pretty confused with me. Why for range is needed
|
Is your feature request related to a problem? Please describe.
add context control for pub cmd and add async method.
await
, but sometimes we may want it nonblock, eg: we pub a message without need to receive its result.Describe the solution you'd like
the above code is confused. Retry should seperate from a single request. eg:
The text was updated successfully, but these errors were encountered: