Aydar Zaynutdinov created BEAM-13479:
----------------------------------------
Summary: [Playground] Change logic with Cancel method.
Key: BEAM-13479
URL: https://issues.apache.org/jira/browse/BEAM-13479
Project: Beam
Issue Type: Improvement
Components: beam-playground
Reporter: Aydar Zaynutdinov
Now server call method as a goroutine to check cancel flag.
When the Cancel() method is called the cancel flag is set to the cache as a
true.
Need:
* Set false flag as a default value before calling the Process method.
* Change the logic of the cancelCheck() method. Now it checks that the flag
cancel exists and after that returns from the method and stops goroutine. Need
to change this logic and return from the method in case the cancel flag is
true.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)