X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=README.md;h=1ddad503512fa3c8f3e2107006c9ca16cf165128;hb=a7dc540979d13bee0dd320858214b776fa556e4d;hp=110fbc4f81e625e04ffeeddcca5753f93b2e1245;hpb=5ea2262889dc3886579289b0d7205632bfea4bf2;p=poolifier.git diff --git a/README.md b/README.md index 110fbc4f..1ddad503 100644 --- 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