You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
464 B

import createIpc from 'redux-electron-ipc'
import { receiveInfo } from './info'
import { receivePeers } from './peers'
import { receiveChannels } from './channels'
import { receivePayments } from './payment'
// Import all receiving IPC event handlers and pass them into createIpc
const ipc = createIpc({
'receiveInfo': receiveInfo,
'receivePeers': receivePeers,
'receiveChannels': receiveChannels,
'receivePayments': receivePayments
})
export default ipc