qisdk / com.aldebaran.qi.sdk / QiThreadPool / schedule

schedule

static fun <V : Any!> schedule(callable: Callable<V>!, delay: Long, timeUnit: TimeUnit!): Future<V>!

Execute a callable with delay on the thread pool.

Parameters

callable - Callable<V>!: the callable

delay - Long: the delay

timeUnit - TimeUnit!: the delay time unit

- the value type

Return
Future<V>!: a future of the computed result