X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README.md;h=1ddad503512fa3c8f3e2107006c9ca16cf165128;hb=a7dc540979d13bee0dd320858214b776fa556e4d;hp=ab7844a2bc0da88a0bfdf8c3282090bff14ce2d3;hpb=e36cfb1358100da513cae995df83e7ebda6f8cfb;p=poolifier.git diff --git a/README.md b/README.md index ab7844a2..1ddad503 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
- +

Node Thread Pool and Cluster Pool :arrow_double_up: :on:

@@ -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