[ https://issues.apache.org/jira/browse/BEAM-13479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aydar Zaynutdinov updated BEAM-13479: ------------------------------------- Status: Open (was: Triage Needed) > [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 > Priority: P3 > Labels: beam-playground-backend > > 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)