AsyncTaskExtension<P, R, T extends AsyncTask<P, R> > extension
- on
-
- Iterable<
T>
- Iterable<
Properties
- allTasksFinished → bool
-
Available on Iterable<
ReturnsT> , provided by the AsyncTaskExtension extensiontrue
if all tasks are finished.no setter - allTasksSubmitted → bool
-
Available on Iterable<
ReturnsT> , provided by the AsyncTaskExtension extensiontrue
if all tasks were submitted for execution.no setter - allTasksSuccessful → bool
-
Available on Iterable<
ReturnsT> , provided by the AsyncTaskExtension extensiontrue
if all tasks are finished and successful.no setter -
errorTasks
→ List<
T> -
Available on Iterable<
Returns a List of tasks with errors.T> , provided by the AsyncTaskExtension extensionno setter -
finishedTasks
→ List<
T> -
Available on Iterable<
Returns a List ofT> , provided by the AsyncTaskExtension extensionfinished
tasks.no setter - hasIdleTask → bool
-
Available on Iterable<
ReturnsT> , provided by the AsyncTaskExtension extensiontrue
if this collection has an idle task.no setter - hasTaskWithError → bool
-
Available on Iterable<
ReturnsT> , provided by the AsyncTaskExtension extensiontrue
if this collection has a task with error.no setter -
idleTasks
→ List<
T> -
Available on Iterable<
Returns a List ofT> , provided by the AsyncTaskExtension extensionidle
tasks.no setter -
notFinishedTasks
→ List<
T> -
Available on Iterable<
Returns a List of NOTT> , provided by the AsyncTaskExtension extensionfinished
tasks.no setter -
submittedTasks
→ List<
T> -
Available on Iterable<
Returns a List ofT> , provided by the AsyncTaskExtension extensionsubmitted
tasks.no setter -
successfulTasks
→ List<
T> -
Available on Iterable<
Returns a List of successful tasks.T> , provided by the AsyncTaskExtension extensionno setter -
tasksResults
→ List<
R?> -
Available on Iterable<
Returns a List of the current results.T> , provided by the AsyncTaskExtension extensionno setter
Methods
-
executeAndWaitResults(
AsyncExecutor executor) → Future< List< R> > -
Available on Iterable<
Executes the tasks withT> , provided by the AsyncTaskExtension extensionexecutor
, waits the executions and returns the results. -
executeAndWaitTasks(
AsyncExecutor executor) → Future< List< T> > -
Available on Iterable<
Executes the tasks withT> , provided by the AsyncTaskExtension extensionexecutor
, waits the executions and returns the tasks. -
executeTasks(
AsyncExecutor executor) → List< Future< R> > -
Available on Iterable<
Executes the tasks withT> , provided by the AsyncTaskExtension extensionexecutor
. -
tasksWithStatus(
AsyncTaskStatus status) → List< T> -
Available on Iterable<
Returns a List of tasks withT> , provided by the AsyncTaskExtension extensionstatus
. -
waitResults(
{bool onlySubmitted = false}) → Future< List< R> > -
Available on Iterable<
Waits the tasks executions and returns a List of results.T> , provided by the AsyncTaskExtension extension -
waitTasks(
{bool onlySubmitted = false}) → Future< List< T> > -
Available on Iterable<
Waits the tasks executions and returns a List of waited tasks.T> , provided by the AsyncTaskExtension extension