Function setDefaultIdleTimeout

  • Set the idle timeout fallback timeout which is used when the runtime does not support requestIdleCallback the default idle timeout will be used for the scheduled timer. Defaults to 100ms

    Parameters

    • timeout: number

      The time in milliseconds that the timer should wait before calling the idle function.

    Returns void

    Since

    0.4.4