Function setDefaultIdleTimeout

Use setDefaultIdlePromiseTimeout instead Sets the global default idle timeout / deadline to use when no timeout is passed during promise creation.

Specifies the time in milliseconds to use as the idle timeout / deadline by when any outstanding chained items should be executed.

  • Sets the global default idle timeout / deadline to use when no timeout is passed during promise creation.

    Parameters

    • OptionalidleDeadline: number

      Specifies the time in milliseconds to use as the idle timeout / deadline by when any outstanding chained items should be executed.

    Returns void