chore: include pre-built dist for github install

This commit is contained in:
Robin Mordasiewicz
2026-03-14 04:56:50 +00:00
parent a7f0a4cf46
commit bce8ff3a75
1011 changed files with 150081 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
import type { BackgroundTaskConfig } from "../../config/schema";
export declare class ConcurrencyManager {
private config?;
private counts;
private queues;
constructor(config?: BackgroundTaskConfig);
getConcurrencyLimit(model: string): number;
acquire(model: string): Promise<void>;
release(model: string): void;
/**
* Cancel all waiting acquires for a model. Used during cleanup.
*/
cancelWaiters(model: string): void;
/**
* Clear all state. Used during manager cleanup/shutdown.
* Cancels all pending waiters.
*/
clear(): void;
/**
* Get current count for a model (for testing/debugging)
*/
getCount(model: string): number;
/**
* Get queue length for a model (for testing/debugging)
*/
getQueueLength(model: string): number;
}