Type alias RequestInitWithTimeout

RequestInitWithTimeout: RequestInit & {
    timeout?: number;
}

Options for fetch with timeout with the added timeout.

Type declaration

  • Optional timeout?: number

    Timeout in microseconds