-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Implement context-aware RunEventLoop #1169
Implement context-aware RunEventLoop #1169
Conversation
…modehandler will react on context cancellation
resolves #1162 |
Hi, added context to run method on socketmodehandler. make pr-prep was successful. Could you please merge it in master, to resolve #1162 ? |
and, could you please approve workflow run? It's my first PR.. |
|
||
return r.Client.Run() | ||
} | ||
|
||
func (r *SocketmodeHandler) RunEventLoopContext(ctx context.Context) error { |
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.
func (r *SocketmodeHandler) RunEventLoopContext(ctx context.Context) error { | |
func (r *SocketmodeHandler) RunEventLoopWithContext(ctx context.Context) error { |
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.
Since naming convention for context-aware methods has not been determined, leave it as it is in this time.
Hi @lololozhkin any chance you could respond to the above comment? -Thanks! |
Thanks! LGTM 👍 |
implemented RunEventLoopContext method. now socketmodehandler will react on context cancellation
PR preparation
make pr-prep
from the root of the repository to run formatting, linting and tests.