socket-goddess

1.0.0 • Public • Published

ipc-goddess

This provides the IPC socket that all goddess apps on the same machine use to communicate with one another. For communications over the network, see comm-goddess.

Usage:

 
var config = {
  id: 'light-goddess',
  inputs: {
    'preset': 'comm-goddess'
  },
  outputs: [
    'channels'
  ]
};
 
ipcGoddess.initSocket(config);
ipcGoddess.emit('channels','Channel data');
ipcGoddess.on('preset', (data) => { console.log(data) });

Readme

Keywords

none

Package Sidebar

Install

npm i socket-goddess

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • met5678