Invokes the callable on a background thread using the default thread pool, returning a Task to represent the operation.
(Callable<TResult> callable)
| 221 | * represent the operation. |
| 222 | */ |
| 223 | public static <TResult> Task<TResult> callInBackground(Callable<TResult> callable) { |
| 224 | return call(callable, backgroundExecutor); |
| 225 | } |
| 226 | |
| 227 | /** |
| 228 | * Invokes the callable using the given executor, returning a Task to represent the operation. |