futureCallable

fun futureCallable(callable: Callable<*>): Future<*>

Sends a callable to the executor service and returns a Future.

Return

the future object to be queried

Parameters

callable

the callable to be queued