@just-every/ensemble
Version:
LLM provider abstraction layer with unified streaming interface
13 lines • 526 B
TypeScript
export declare class SequentialQueue {
private queues;
private processing;
runSequential<T>(agentId: string, fn: () => Promise<T>): Promise<T>;
private processQueue;
getQueueSize(agentId: string): number;
isProcessing(agentId: string): boolean;
clearQueue(agentId: string): void;
clearAll(): void;
}
export declare const sequentialQueue: SequentialQueue;
export declare function runSequential<T>(agentId: string, fn: () => Promise<T>): Promise<T>;
//# sourceMappingURL=sequential_queue.d.ts.map