UNPKG

177 BTypeScriptView Raw
1import { Runnable } from './runnable';
2export declare class RunnerPool {
3 private readonly lock;
4 constructor(limit: number);
5 run<A>(task: Runnable<A>): Promise<A>;
6}