You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/01/10 11:54:01 UTC
[GitHub] [beam] ElessarST commented on a change in pull request #16385: [BEAM-13535] [Playground] add cancel execution button
ElessarST commented on a change in pull request #16385:
URL: https://github.com/apache/beam/pull/16385#discussion_r781127063
##########
File path: playground/frontend/lib/pages/playground/states/playground_state.dart
##########
@@ -141,6 +143,18 @@ class PlaygroundState with ChangeNotifier {
}
}
+ Future<void> cancelRun() async {
+ if (_runSubscription != null) {
+ _runSubscription?.cancel();
Review comment:
question mark is required because it's not a local variable
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org