X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README.md;h=bfb47a78d79d7f25aa9fbe2d1bf56c0da868e98a;hb=dcb582f3a195c6c7040b92c1852d7c38752209a8;hp=af6b7cd66064561c11092fa939ee2eca51405a80;hpb=e8a862ca79b302e42ae5b767405e3d28df6f5c81;p=poolifier.git diff --git a/README.md b/README.md index af6b7cd6..bfb47a78 100644 --- a/README.md +++ b/README.md @@ -97,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 }