UNPKG

claude-flow

Version:

Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)

11 lines (10 loc) 271 B
export declare class Semaphore<T = void> { private _capacity; private _active; private _waiting; constructor(capacity?: number); constructor(thunk: () => T | PromiseLike<T>): Promise<T>; get active(): number; private runNext; private doRunNext; }