Skip to main content
Module

x/openai/core.ts>APIClient#calculateDefaultRetryTimeoutMillis

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
method APIClient.prototype.calculateDefaultRetryTimeoutMillis
import { APIClient } from "https://deno.land/x/openai@v4.27.1/core.ts";

Parameters

retriesRemaining: number
maxRetries: number

Returns

number