qisdk / com.aldebaran.qi.sdk.util / FutureUtils / wait

wait

open static fun wait(delay: Long, timeUnit: TimeUnit!): Future<Void!>!

Returns a future that wait a delay to finish

Parameters

delay - Long: the delay to wait

timeUnit - TimeUnit!: the time unit

Return
Future<Void!>!: a future of the execution