execute<P, R> abstract method

Future<R> execute<P, R>(
  1. AsyncTask<P, R> task, {
  2. AsyncExecutorSharedDataInfo? sharedDataInfo,
})

Executes task in this thread.

Implementation

Future<R> execute<P, R>(AsyncTask<P, R> task,
    {AsyncExecutorSharedDataInfo? sharedDataInfo});