@hisorange/resistor
Version:
Versatily resource load throttler with extensible strategies, configuration and virtual thread management.
12 lines • 340 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.threadIt = void 0;
const resistor_1 = require("./resistor");
const threadIt = (worker, threads = 8) => new resistor_1.Resistor(worker, {
buffer: {
size: 1,
},
threads,
});
exports.threadIt = threadIt;
//# sourceMappingURL=syntax.js.map