Delayed

Extends
Future
Methods
1
Fields
None

Methods

MethodReturnsDescription
getDelay(TimeUnit)numberThe time until the task is next due, in unit, truncated; negative once it is overdue, and for a task that ran or was cancelled, the time…

Method details

getDelay

getDelay: (Delayed, TimeUnit) -> number

The time until the task is next due, in unit, truncated; negative once it is overdue, and for a task that ran or was cancelled, the time since its trigger time. A task counted in server ticks (timer:afterTicks) converts them at 600 ms each, one counted in client cycles at 20 ms.