consumer.js 203 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 // Consumer 코드는 변경할 필요 없음 var Producer = require('./producer'); var producer = new Producer(); producer.on('add', function(t) { console.log('add:', t); }); producer.start();