MIRROR: javascript for 馃悳's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 12 lines 314 B view raw
1import { parentPort, workerData, isMainThread, getEnvironmentData } from 'node:worker_threads'; 2 3if (parentPort) { 4 parentPort.postMessage({ 5 ok: true, 6 isMainThread, 7 hasParentPort: parentPort !== null, 8 workerData, 9 environmentData: getEnvironmentData('shared-key') 10 }); 11 parentPort.unref(); 12}