@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="IdleDeadline")
public class IdleDeadline
extends JsObject
The IdleDeadline interface is used as the data type of the input parameter to idle callbacks established by calling Window.requestIdleCallback(). It offers a method, timeRemaining(), which lets you determine how much longer the user agent estimates it will remain idle and a property, didTimeout, which lets you determine if your callback is executing because its timeout duration expired.
- See Also:
- IdleDeadline - MDN,
# the-idledeadline-interface