"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createExtractWorkerPool = createExtractWorkerPool;
const threads_1 = require("threads");
/** @internal */
function createExtractWorkerPool(opts) {
    return (0, threads_1.Pool)(() => (0, threads_1.spawn)(new threads_1.Worker("../workers/extractWorker")), { size: opts.poolSize });
}
