electron/spec/fixtures/api/utility-process/post-message.js

4 lines
88 B
JavaScript

process.parentPort.on('message', (e) => {
process.parentPort.postMessage(e.data);
});