lightning-pool
Version:
Fastest generic Pool written with TypeScript
13 lines (12 loc) • 498 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.createPool = createPool;
const tslib_1 = require("tslib");
const pool_js_1 = require("./pool.js");
tslib_1.__exportStar(require("./abort-error.js"), exports);
tslib_1.__exportStar(require("./constants.js"), exports);
tslib_1.__exportStar(require("./pool.js"), exports);
tslib_1.__exportStar(require("./types.js"), exports);
function createPool(factory, config) {
return new pool_js_1.Pool(factory, config);
}
;