title: Unbinding events in Node.js
body: <p>Let's take <code>stdin.on</code> as an example. Callbacks to <code>stdin.on</code> stack, so if I write (in CoffeeScript)</p>
  
  <pre><code>stdin = process.openStdin()
  stdin.setEncoding 'utf8'
  stdin.on 'data', (input) -&gt; console.log 'One'
  stdin.on 'data', (input) -&gt; console.log 'Two'
  </code></pre>
  
  <p>then every time I hit return at the prompt, I get</p>
  
  <pre><code>One
  Two
  </code></pre>
  
  <p>My question is, is there any way to remove/replace a callback once bound? Or is the only approach to bind a proxy callback and manage state myself?</p>