[ 
https://issues.apache.org/jira/browse/BEAM-13479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Artur Khanin updated BEAM-13479:
--------------------------------
    Resolution: Done
        Status: Resolved  (was: In Progress)

> [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
>            Assignee: Pavel Avilov
>            Priority: P3
>              Labels: beam-playground-backend, beam-playground-beta-launch
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to