X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2FyourWorker.js;h=4597f6485b0073f01854c8285213c5e27ed689fb;hb=44c416e8aad9bf5ca5df6d92ad636bbaca3e1342;hp=ac3959d121f1fcfa123f1118374a1c4b3d2bcf4f;hpb=1f9a5a440caea7dc60a664d413304250969bb4d8;p=poolifier.git diff --git a/examples/yourWorker.js b/examples/yourWorker.js index ac3959d1..4597f648 100644 --- a/examples/yourWorker.js +++ b/examples/yourWorker.js @@ -1,5 +1,5 @@ 'use strict' -const { ThreadWorker } = require('../lib/workers') +const { ThreadWorker } = require('poolifier') function yourFunction (data) { for (let i = 0; i <= 1000; i++) {