X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README.md;h=bfb47a78d79d7f25aa9fbe2d1bf56c0da868e98a;hb=7e060ceea2e476067edc0a19a02fdfd35df7bb8a;hp=f60542c9c49f561dce97679a15d7b564cfa7bbd5;hpb=baf969c13b6c1bbb5f85c62f606f23fdb5f2d65c;p=poolifier.git diff --git a/README.md b/README.md index f60542c9..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 }