scheduleTask<R> abstract method

Future<R> scheduleTask<R>(
  1. AsyncTask<R> task
)

Schedules an async task and returns with a future that completes when the task is finished. Task may not get executed immediately.

Implementation

Future<R> scheduleTask<R>(AsyncTask<R> task);