• This project
    • Loading...
  • Sign in

손희승 / OSS

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • OSS
  • Experiments
  • Experiments08
  • Assignments
  • 02
  • consumer.js
  • 진성욱's avatar
    Chapter08 Added · 7678222b
    7678222b
    진성욱 authored 2017-10-31 07:12:36 +0900
consumer.js 255 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13
var Producer = require('./producer');  
var producer = new Producer();

producer.on('add', function(t) {  
	  console.log('add:', t);
});

producer.start();

// stop the clock 10 seconds after
// setTimeout(function() {  
//   clock.stop();
//   }, 10e3)