Rename FullPool event to busy, update benchmarks
[poolifier.git] / README.md
index 110fbc4f81e625e04ffeeddcca5753f93b2e1245..ec12e3975869149d39d17c8a885d194f3f2c3e79 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 full'))
 
 // the execute method signature is the same for both implementations,
 // so you can easy switch from one to another