X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2FyourWorker.js;fp=examples%2FyourWorker.js;h=4597f6485b0073f01854c8285213c5e27ed689fb;hb=60fbd6d6188b0902d157fd0cde04d6af3a391e32;hp=ac3959d121f1fcfa123f1118374a1c4b3d2bcf4f;hpb=bb7e31eb128840f1bea76429f3c32bed306b6b25;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++) {