chore(deps-dev): apply updates
[poolifier.git] / examples / javascript / multiFunctionExample.cjs
index 7ab57ab72a5f689b870f210bbc1fc8c9d0a08c70..9f92c132c55b4b8dc7824b49043bc26959f3f9a2 100644 (file)
@@ -5,8 +5,8 @@ const pool = new FixedThreadPool(
   availableParallelism(),
   './multiFunctionWorker.cjs',
   {
+    onlineHandler: () => console.info('worker is online'),
     errorHandler: e => console.error(e),
-    onlineHandler: () => console.info('worker is online')
   }
 )