Dashboard
Repositories
filestore
Aktivität
Suche
Login
public
/
web-development/examples
Web Development Examples
Übersicht
Reflog
Commits
Dateibaum
Dokumentation
Forks
Vergleichen
Blame
|
Historie
|
Raw
add mongodb installation notes
Sascha Schulz
vor 4 Tagen
c98907289eb9db87a5bea37f2e2c39d6d1f59ce5
[public/web-development/examples.git]
/
templates
/
010-nodejs
/
mt-main.js
1
2
3
4
5
6
7
const { Worker } = require('worker_threads');
const data = 'some data';
const worker = new Worker("./mt-worker.js", { workerData: data });
worker.on('message', message => console.log('Reply from Thread:', message));