@cloud-copilot/iam-lens
Version:
Visibility in IAM in and across AWS accounts
15 lines • 486 B
TypeScript
export interface ArrayStreamingWorkQueueOptions {
ringCapacity?: number;
}
export declare class ArrayStreamingWorkQueue<T> {
private onWorkAvailable?;
private notifyScheduled;
private work;
constructor(options?: ArrayStreamingWorkQueueOptions);
setWorkAvailableCallback(callback: () => void): void;
enqueue(item: T): void;
dequeue(): T | undefined;
length(): number;
private scheduleNotify;
}
//# sourceMappingURL=ArrayStreamingWorkQueue.d.ts.map