X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2FyourWorker.js;h=5bd1ad6569c212b560d3eb829352f8974417b4a3;hb=710826bc287a006d90f9cdda42fdbac655757973;hp=3e59f3465db2269fbb4ed2827f3c048c6010a8b8;hpb=fd7ebd496ee8e1f95c6c1dc2af5153d73ec3daab;p=poolifier.git diff --git a/examples/yourWorker.js b/examples/yourWorker.js index 3e59f346..5bd1ad65 100644 --- a/examples/yourWorker.js +++ b/examples/yourWorker.js @@ -4,7 +4,7 @@ const { isMainThread } = require('worker_threads') const debug = false -function yourFunction (data) { +function yourFunction () { for (let i = 0; i <= 1000; i++) { const o = { a: i