X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README.md;h=bfb47a78d79d7f25aa9fbe2d1bf56c0da868e98a;hb=4de0596a88fe3680b8dd8fc600e4ed1b4694009c;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 @@

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

-

- - Ko-fi -

@@ -16,11 +12,13 @@ Quality Gate Status - Code coverage + Code Coverage Javascript Standard Style Guide Gitter chat + + Open Collective Dependabot @@ -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