UNPKG

node-worker-threads-pool

Version:

Simple worker threads pool using Node's worker_threads module. Compatible with ES6+ Promise, Async/Await.

10 lines (9 loc) 682 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StaticPool = exports.isTimeoutError = exports.DynamicPool = void 0; var dynamicPool_1 = require("./dynamicPool"); Object.defineProperty(exports, "DynamicPool", { enumerable: true, get: function () { return dynamicPool_1.DynamicPool; } }); var promiseWithTimer_1 = require("./promiseWithTimer"); Object.defineProperty(exports, "isTimeoutError", { enumerable: true, get: function () { return promiseWithTimer_1.isTimeoutError; } }); var staticPool_1 = require("./staticPool"); Object.defineProperty(exports, "StaticPool", { enumerable: true, get: function () { return staticPool_1.StaticPool; } });