X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=yourWorker.js;h=34a85dbbe8f64040c027c44b78b6987c3d25d5d3;hb=766e51a0c50e4aadad5f8c65a2b6689d91ba75d8;hp=c3a7b0c4a9d606abee2c8b9780e0fa6df0af59e4;hpb=50811da2e375e78179b56fe78fd7674ad2f360fd;p=poolifier.git diff --git a/yourWorker.js b/yourWorker.js index c3a7b0c4..34a85dbb 100644 --- a/yourWorker.js +++ b/yourWorker.js @@ -11,7 +11,7 @@ class MyWorker extends ThreadWorker { JSON.stringify(o) } // console.log('This is the main thread ' + isMainThread) - return data + return { ok: 1 } }) } }