Cashu-TS - v4.0.0-rc3
    Preparing search index...

    Type Alias RequestOptions

    RequestOptions: RequestArgs & Omit<RequestInit, "body" | "headers"> & Partial<
        Nut19Policy,
    > & { requestTimeout?: number }

    Type Declaration

    • OptionalrequestTimeout?: number

      Per-request timeout in milliseconds. If a single fetch hangs longer than this, it is aborted and treated as a NetworkError (triggering retry on cached endpoints). Without this, a hung connection can consume the entire TTL retry window.