<commit_before>
var ss = require('..')
  , should = require('should');

var worker = ss.socket('pub-emitter')
  , relaySub = ss.socket('sub-emitter')
  , relayPub = ss.socket('pub-emitter')
  , a = ss.socket('sub-emitter')
  , b = ss.socket('sub-emitter')
  , c = ss.socket('sub-emitter')

/*

                    +--> a
  worker ---> relay |--> b 
                    +--> c

*/

relaySub.bind(3000);
relayPub.bind(4000);
worker.connect(3000);
a.connect(4000);
b.connect(4000);
c.connect(4000);<commit_msg>change emitter.many diagram to reflect connections<commit_after>
var ss = require('..')
  , should = require('should');

var worker = ss.socket('pub-emitter')
  , relaySub = ss.socket('sub-emitter')
  , relayPub = ss.socket('pub-emitter')
  , a = ss.socket('sub-emitter')
  , b = ss.socket('sub-emitter')
  , c = ss.socket('sub-emitter')

/*

                    <--- a
  worker ---> relay <--- b 
                    <--- c

*/

relaySub.bind(3000);
relayPub.bind(4000);
worker.connect(3000);
a.connect(4000);
b.connect(4000);
c.connect(4000);
{'fraction_non_alphanumeric': 0.20647002854424357, 'fraction_numerical': 0.04567078972407231, 'mean_word_length': 2.627586206896552, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3188682', 'n_tokens_mistral': 419, 'n_tokens_neox': 361, 'n_words': 64}