I was wondering if it is possible to split an object between two node instances?
In the first case, I node app1.js
create the following object:
const bot = new irc.Client(config.server, config.botName, { channels: config.channels });
Is it possible to share this object bot
with another instance of node ( node app2.js
) and what would I need to use to share?
Drago source
share