docs: refine README.md
[poolifier.git] / examples / typescript / pool.ts
index 7268ebdc599cfaf6a8951583c5d06d1ced71f9c3..869e62a8bf718020c155ae221b85921735a61d74 100644 (file)
@@ -10,7 +10,7 @@ export const fixedPool = new FixedThreadPool<MyData, Promise<MyResponse>>(
       console.error(e)
     },
     onlineHandler: () => {
-      console.log('Worker is online')
+      console.info('Worker is online')
     }
   }
 )
@@ -24,7 +24,7 @@ export const dynamicPool = new DynamicThreadPool<MyData, Promise<MyResponse>>(
       console.error(e)
     },
     onlineHandler: () => {
-      console.log('Worker is online')
+      console.info('Worker is online')
     }
   }
 )