carlw
01/06/2017, 8:17 PMgtnarg
01/06/2017, 8:41 PMedvin
01/06/2017, 9:48 PMrunAsync
returns a Task
, but it doesn't operate in the context of that task. It should be easy enough to change it though, let me try.edvin
01/06/2017, 10:03 PMthis
inside runAsync
carlw
01/06/2017, 10:03 PMedvin
01/06/2017, 10:05 PMrunAsyncWithProgress
, but it doesn't show a progress bar, just a progress indicator that you have no real control over.edvin
01/06/2017, 10:05 PMedvin
01/06/2017, 10:05 PMedvin
01/06/2017, 10:07 PMrunAsync
would need a type parameter for many cases, unless we let it operate on Task<*>
. Then you'd have access to all functions of the task, just not the type. Don't know if you'd need to.carlw
01/06/2017, 10:10 PMcarlw
01/06/2017, 10:10 PMedvin
01/06/2017, 10:11 PMedvin
01/06/2017, 10:12 PMedvin
01/06/2017, 10:13 PMcarlw
01/06/2017, 10:13 PMcarlw
01/06/2017, 10:14 PMedvin
01/06/2017, 10:15 PMrunAsync
change (this
is the task). We could avoid breaking anything if it
is the task, but I like it better with this
. Not sure what to do..edvin
01/06/2017, 10:15 PMthis
from this.id
🙂edvin
01/06/2017, 10:18 PMupdateProgress
is protected, so it cannot be run from outside the task. Would need to create some kind of task adapter for it.carlw
01/06/2017, 10:20 PMcarlw
01/06/2017, 10:21 PMcarlw
01/06/2017, 10:22 PMedvin
01/06/2017, 10:22 PMedvin
01/06/2017, 10:31 PMrunAsync
call, but still infer it, and still be able to get to it from both inside and outside the task.edvin
01/06/2017, 10:42 PMcarlw
01/06/2017, 10:56 PMedvin
01/06/2017, 11:01 PMedvin
01/07/2017, 1:08 PMedvin
01/07/2017, 1:11 PM