UNPKG

hono

Version:

Web framework built on Web Standards

12 lines (11 loc) 255 B
/** * @module * Concurrent utility. */ export interface Pool { run<T>(fn: () => T): Promise<T>; } export declare const createPool: ({ concurrency, interval, }?: { concurrency?: number | undefined; interval?: number | undefined; }) => Pool;