qisdk / com.aldebaran.qi.sdk / QiThreadPool

QiThreadPool

class QiThreadPool

Shared thread pool.

Mainly for internal purpose.

Functions

execute

Execute a callable on the thread pool.

static fun <V : Any!> execute(callable: Callable<V>!): Future<V>!

schedule

Execute a callable with delay on the thread pool.

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