bpms_site/.svn/pristine/8e/8edf4422eb3a1d657f7f05eb11b71d1f28b00b12.svn-base
2025-11-02 16:38:49 +03:30

8 lines
291 B
Plaintext

import type { ThenableRecord } from './router-reducer/router-reducer-types';
export declare class PromiseQueue {
#private;
constructor(maxConcurrency?: number);
enqueue<T>(promiseFn: () => Promise<T>): Promise<T>;
bump(promiseFn: ThenableRecord<any> | Promise<any>): void;
}