X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=README.md;h=bfb47a78d79d7f25aa9fbe2d1bf56c0da868e98a;hb=refs%2Ftags%2Fv2.3.10-1;hp=d5ff1cc63a8d3d004023c42c3134dde2f26c6bfb;hpb=82be29c0820f956edac3d1cf266cd1d783d67a5e;p=poolifier.git diff --git a/README.md b/README.md index d5ff1cc6..bfb47a78 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,6 @@
@@ -16,11 +12,13 @@
-
+
+
+
@@ -99,7 +97,7 @@ You can implement a worker-threads worker in a simple way by extending the class
'use strict'
const { ThreadWorker } = require('poolifier')
-function yourFunction (data) {
+function yourFunction(data) {
// this will be executed in the worker thread,
// the data will be received by using the execute method
return { ok: 1 }
@@ -146,7 +144,7 @@ Remember that workers can only send and receive serializable data.
## Node versions
-You can use node versions >= 12.x for thread pool, and node versions >= 16.x for cluster pool.
+Node versions >= 16.x are supported.
## API