示例#1
0
 public static ActionTask ContinueOnUIWith(this ActionTask task,
                                           ActionTask.CancellableContinuation.Action next,
                                           CancellationToken cancellationToken = null)
 {
     return(task.ContinueWith(next, cancellationToken, TaskScheduler.DefaultScheduler));
 }
示例#2
0
 public static ActionTask ContinueOnUIWith(this ActionTask task, ActionTask.BasicContinuation.Action next)
 {
     return(task.ContinueWith(next, TaskScheduler.DefaultScheduler));
 }