UNPKG

lightning-pool

Version:

Fastest generic Pool written with TypeScript

8 lines (7 loc) 323 B
import { Pool } from './pool.js'; import { PoolConfiguration, PoolFactory } from './types.js'; export * from './abort-error.js'; export * from './constants.js'; export * from './pool.js'; export * from './types.js'; export declare function createPool<T = any>(factory: PoolFactory<T>, config?: PoolConfiguration): Pool<T>;