wait

Implicitly constructs a new WaitTask to add to the run queue.

Return

the added WaitTask

Parameters

duration

the duration to wait


fun wait(duration: Double, @NonNull unit: Time): WaitTask

Implicitly constructs a new WaitTask to add to the run queue.

Return

the added WaitTask

Parameters

duration

the duration to wait

unit

the unit of the duration