FetchOptions: RequestInit & {
    retries?: number;
    retryDelay?: number;
}

Type declaration

  • Optionalretries?: number

    The number of retries if the initial requests fails with an HTTP error code.

    undefined
    
  • OptionalretryDelay?: number

    The delay to wait (in milliseconds) before a new try is attempted. Only if retries is defined.

    1000