public final class AsyncTask extends Object
The static factory class for creating the asynchronous tasks
Constructor and Description |
---|
AsyncTask() |
Modifier and Type | Method and Description |
---|---|
static IAsyncTask |
create(AsyncTaskAction taskAction)
Creates the asynchronous task without any result.
|
static IAsyncTask |
create(AsyncTaskFunc taskFunc)
Creates the asynchronous task with generic type result.
|
public static IAsyncTask create(AsyncTaskAction taskAction)
Creates the asynchronous task without any result.
taskAction
- The task action.public static IAsyncTask create(AsyncTaskFunc taskFunc)
Creates the asynchronous task with generic type result.
taskFunc
- The task function.