@ipsme/reflector-electron-ipc-window
v0.1.7
Published
App.js
Downloads
2
Readme
App.js
import * as IPSME_MsgEnv_BC from '@ipsme/msgenv-broadcastchannel'; import { Reflector_IPC_window } from '@ipsme/reflector-electron-ipc-window';
//------------------------------------------------------------------------------------------------- // reflector bc <-> ipc
const reflector_IPC_window_ = new Reflector_IPC_window(window); reflector_IPC_window_.init();
//-------------------------------------------------------------------------------------------------
function handler_App(msg) { console.log('handler_App: msg: ', msg);
} IPSME_MsgEnv_BC.subscribe(handler_App);
IPSME_MsgEnv_BC.publish('BOOHAG');