TaskGroup currently doesn't extend Callable, so can't do the following: TaskGroup<V> task = doAsynch ? new ParallelTaskGroup<V>() : new SequentialTaskGroup<V>(); task.add(childTask1); task.add(childTask2); TaskExecutor.execute(task);
Log in to post a comment.