-
Notifications
You must be signed in to change notification settings - Fork 344
Replace VmService with VmServiceWrapper #57
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
Conversation
} | ||
|
||
@override | ||
Future<Success> streamListen(String streamId) { |
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.
add a comment explaining why we intentionally tweaked this method.
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.
Added
"We tweaked this method so that we do not try to listen to the same stream. This was causing an issue with the test environment and this change should not affect the run environment."
Sg?
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.
Here's some advice from the flutter team on how to write good comments. We can be a little more lax as fewer people will be reading our comments but in general, this is great advice on how to comment code.
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#documentation-dartdocs-javadocs-etc
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.
Looks good. One actual logic bug and some style nits.
No description provided.