- worker.js: const { parentPort } = require('worker_threads'); // once parentPort.on('message', message => { console.log(message, '我在子线程'); parentPort Read More
posted @ 2022-01-27 14:47 古墩古墩 Views(758) Comments(0) Diggs(0) Edit