X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=README.md;h=bfb47a78d79d7f25aa9fbe2d1bf56c0da868e98a;hb=279f240b53b1fa6a3e707b569a181a015fd6a547;hp=15c3c2db4c19076cd91accd3c5c09cbd8272a9d6;hpb=4ce0c32173afaa80991976d39dc741e49d0c62bc;p=poolifier.git diff --git a/README.md b/README.md index 15c3c2db..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 }