Exposing a Cancel
method would allow for self-cancellation, the semantics of which are not yet implemented appropriately. However, it is on our radar. The only options available now involve restructuring the code and making use of race
, rush
, or branch
(the latter two cancel remaining tasks upon the function returning).
1 Like