mirror of
https://github.com/electron/electron.git
synced 2026-02-05 04:35:12 -05:00
5 lines
100 B
JavaScript
5 lines
100 B
JavaScript
var ipc = require('ipc');
|
|
ipc.on('ping', function(message) {
|
|
ipc.sendToHost('pong', message);
|
|
});
|