isaacs / cluster-master

Take advantage of node built-in cluster module behavior
ISC License
276 stars 44 forks source link

if workers send an 'field' message, then attach to its worker object in the repl #3

Open isaacs opened 12 years ago

isaacs commented 12 years ago

Ie, a worker should be able to do process.send({cmd: 'field', key: 'gitsha', value: 'dead134fdecafbad00aaabbb' }) and then in the workers object in the repl, you'll see gitsha: 'dead134fdecafbad00aaabbb'