refactor: use named export in benchmarking code
[poolifier.git] / benchmarks / versus-external-pools / workers / threadjs / function-to-bench-worker.mjs
1 import { expose } from 'threads/worker'
2 import functionToBench from '../../functions/function-to-bench.js'
3
4 expose({
5 exposedFunction (data) {
6 return functionToBench(data)
7 }
8 })