Skip to content

AxRateLimiterFunction

Type Alias: AxRateLimiterFunction()

AxRateLimiterFunction: <T>(reqFunc, info) => Promise<T | ReadableStream<T>>

Type Parameters

T = unknown

Parameters

reqFunc

info: Readonly<object>

Returns

Promise<T | ReadableStream<T>>

Defined in

src/ax/ai/types.ts:160