File: worker.js

package info (click to toggle)
node-worker-loader 3.0.8-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,624 kB
  • sloc: javascript: 1,720; makefile: 4
file content (7 lines) | stat: -rw-r--r-- 132 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
onmessage = function(event) {
  const workerResult = event.data;

  workerResult.onmessage = true;

  postMessage(workerResult);
};