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

Type declaration

  • Optional retries?: number

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

    Default Value

    undefined
    
  • Optional retryDelay?: number

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

    Default Value

    1000