X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=README.md;h=bfb47a78d79d7f25aa9fbe2d1bf56c0da868e98a;hb=dcb582f3a195c6c7040b92c1852d7c38752209a8;hp=ead314833872725729537434b19aefa5704c1aba;hpb=a746be5b3f476db0d65dedbe147e690f432e9e03;p=poolifier.git diff --git a/README.md b/README.md index ead31483..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
-Bode node versions >= 16.x are supported.
+Node versions >= 16.x are supported.
## API