xref
: /
third_party
/
node
/
test
/
fixtures
/
worker-script.mjs
OpenHarmony-v4.0-Release
OpenHarmony-v5.0-Beta1
OpenHarmony-v4.1-Release
OpenHarmony-v4.0.1-Release
OpenHarmony-v3.2.3-Release
OpenHarmony-v3.2.2-Release
OpenHarmony-v3.2.1-Release
OpenHarmony-v3.2-Release
OpenHarmony-v3.1.7-Release
OpenHarmony-v3.0.8-LTS
Diff With...
OpenHarmony-v5.0-Beta1
OpenHarmony-v4.1-Release
OpenHarmony-v4.0.1-Release
OpenHarmony-v3.2.3-Release
OpenHarmony-v3.2.2-Release
OpenHarmony-v3.2.1-Release
OpenHarmony-v3.2-Release
OpenHarmony-v3.1.7-Release
OpenHarmony-v3.0.8-LTS
Home
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
import worker from 'worker_threads';
2
3
worker.parentPort.postMessage
('Hello, world!');
4