call

open fun <TResult> call(callable: Callable<TResult>, executor: Executor): Task<TResult>

Invokes the callable using the given executor, returning a Task to represent the operation.