enclose-io/compiler

View on GitHub
current/benchmark/fixtures/echo.worker.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

const { parentPort } = require('worker_threads');

parentPort.on('message', (msg) => {
  parentPort.postMessage(msg);
});