MCPcopy
hub / github.com/promptfoo/promptfoo / ProviderCallQueue

Interface ProviderCallQueue

src/scheduler/providerCallQueue.ts:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10export interface ProviderCallQueue {
11 enqueue<T>(providerId: string, call: () => Promise<T>): Promise<T>;
12}
13
14export class ProviderGroupedCallQueue implements ProviderCallQueue {
15 private jobs: QueuedProviderCall<unknown>[] = [];

Callers 5

startFunction · 0.65
startFunction · 0.65
startFunction · 0.65
startFunction · 0.65
callProviderWithContextFunction · 0.65

Implementers 1

ProviderGroupedCallQueuesrc/scheduler/providerCallQueue.ts

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…