Re: Small API Tweak to Task (Worker)

2013-10-03 Thread Sven Reimers
What I probably was thinking about is task that written with the intention that they should not be cancelled, e.g. calculations you want a result of. It is not so much about you could not make them cancelable, but to show this is not intended to be cancelled... Hope I could clarify my train

Re: Small API Tweak to Task (Worker)

2013-09-26 Thread Richard Bair
What are some examples of tasks that would not be cancelable? Richard On Sep 2, 2013, at 9:13 AM, Sven Reimers sven.reim...@gmail.com wrote: Hi, I am trying to build a UI representation of a Task (using a ProgressBar and other things). Since Tasks are cancellabe I thought about adding a

Small API Tweak to Task (Worker)

2013-09-02 Thread Sven Reimers
Hi, I am trying to build a UI representation of a Task (using a ProgressBar and other things). Since Tasks are cancellabe I thought about adding a button to cancel the underlying Task. So far so good. Is there any reason why a Task can not express, if it is intended for the task to act