Bump @types/node from 14.14.31 to 14.14.32 (#258)
[poolifier.git] / README.md
index 110fbc4f81e625e04ffeeddcca5753f93b2e1245..1ddad503512fa3c8f3e2107006c9ca16cf165128 100644 (file)
--- a/README.md
+++ b/README.md
@@ -127,7 +127,7 @@ const pool = new DynamicThreadPool(10, 100,
   './yourWorker.js',
   { errorHandler: (e) => console.error(e), onlineHandler: () => console.log('worker is online') })
 
-pool.emitter.on('FullPool', () => console.log('Pool is full'))
+pool.emitter.on('busy', () => console.log('Pool is busy'))
 
 // the execute method signature is the same for both implementations,
 // so you can easy switch from one to another