multi-agent, multi-channel, duplex-emitter network
For managining 2-way communication between multiple autonomous entities
Create a channel, then a bunch of 'walkie-talkies', then send and receive events over them!
each walkie-talkie acts like a duplex-emitter
var WTChannel = require'walkietalkie'var team = WTChannelvar shaggy = teamWalkieTalkievar scooby = teamWalkieTalkievar daphne = teamWalkieTalkievar fred = teamWalkieTalkievar velma = teamWalkieTalkieshaggyon'ruh-oh'console.log'zoinks!'scoobyemit'ruh-oh'
See tests for more examples