IdleDeadline

The object passed to a requestIdleCallback callback, whose timeRemaining() method says how many milliseconds of idle time are left.

In more detail

Loop while deadline.timeRemaining() > 0 and reschedule the rest. didTimeout is true when the callback was forced to run by its timeout.

Related terms

Taught in

References