From d2eb49649da7384396a99578d8104cf6b9ac5a3a Mon Sep 17 00:00:00 2001 From: Alessandro Pio Ardizio Date: Wed, 22 Jan 2020 23:45:28 +0100 Subject: [PATCH] Update README.MD --- README.MD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.MD b/README.MD index 249d7702..42ffe537 100644 --- a/README.MD +++ b/README.MD @@ -41,7 +41,7 @@ You can implement a worker in a simple way , extending the class ThreadWorker : ```js 'use strict' -const { ThreadWorker } = require('@pioardi/node-thread-pool') +const { ThreadWorker } = require('poolifier') function yourFunction (data) { // this will be executed in the worker thread, @@ -61,7 +61,7 @@ Instantiate your pool based on your needed : ```js 'use strict' -const { FixedThreadPool, DynamicThreadPool } = require('@pioardi/node-thread-pool') +const { FixedThreadPool, DynamicThreadPool } = require('poolifier') // a fixed thread pool const pool = new FixedThreadPool(15, -- 2.34.1