-
Notifications
You must be signed in to change notification settings - Fork 45
APP-4023: Add wrapper for RobotService.restartModule #334
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
APP-4023: Add wrapper for RobotService.restartModule #334
Conversation
src/robot/client.ts
Outdated
proto.RestartModuleRequest, | ||
proto.RestartModuleResponse | ||
>(robotService.restartModule.bind(robotService), request); | ||
return response.toObject(); |
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.
Probably don't need to actually return anything since the return type doesn't include any data
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.
Yeah makes sense. If we add fields to the response in the future, then we can return it.
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.
Can we add a stub for the restartModule
method to robot/robot.ts
with a docstring that explains the method a bit (what it does, if/when it raises, behavior when neither param is provided, stuff like that)?
Ah, didn't realize this existed. Will do! |
No description provided.