UNPKG

@juspay/neurolink

Version:

The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002

8 lines (7 loc) • 332 B
/** * Parse standard and commonly used rate-limit response headers. * * @returns The requested delay in milliseconds, or undefined when the * response does not provide a usable rate-limit delay. */ export declare function parseRetryAfterMs(headers: Pick<Headers, "get"> | Readonly<Record<string, string>>): number | undefined;