fix(benchmark): add missing export
[poolifier.git] / benchmarks / benchmarks-utils.mjs
index 1878988f2ab5491c87ec7a73adcc287e590228b4..03596b276c3cae5abd1b9fc074e11f7442ddf6ca 100644 (file)
@@ -13,6 +13,7 @@ import {
   WorkerChoiceStrategies,
   WorkerTypes
 } from '../lib/index.mjs'
+import { executeTaskFunction } from './benchmarks-utils.cjs'
 
 const buildPoolifierPool = (workerType, poolType, poolSize, poolOptions) => {
   switch (poolType) {
@@ -249,3 +250,5 @@ const LIST_FORMATTER = new Intl.ListFormat('en-US', {
   style: 'long',
   type: 'conjunction'
 })
+
+export { executeTaskFunction }