refactor: code cleanups
[poolifier.git] / benchmarks / internal / cluster-worker.mjs
index efbcf7b1cfd0bbf60c126f8f5af716b3c6a7dd45..60876bebef04bf97e3a866209fe65792bf6d985f 100644 (file)
@@ -5,7 +5,7 @@ import { TaskFunctions } from '../benchmarks-types.mjs'
 
 const debug = false
 
-function taskFunction (data) {
+const taskFunction = data => {
   data = data || {}
   data.function = data.function || TaskFunctions.jsonIntegerSerialization
   const res = executeTaskFunction(data)