Merge branch 'master' of https://github.com/pioardi/node-pool
[poolifier.git] / yourWorker.js
index c3a7b0c4a9d606abee2c8b9780e0fa6df0af59e4..34a85dbbe8f64040c027c44b78b6987c3d25d5d3 100644 (file)
@@ -11,7 +11,7 @@ class MyWorker extends ThreadWorker {
         JSON.stringify(o)
       }
       // console.log('This is the main thread ' + isMainThread)
-      return data
+      return { ok: 1 }
     })
   }
 }