title: Javascript eventemitter multiple events once
body: <p>I'm using node's <code>eventemitter</code> though other event library suggestions are welcomed.</p>
  <p>I want to run a function once if several events are fired. Multiple events should be listened to, but all of them are removed if any one of the events fires. Hopefully this code sample demonstrates what I'm looking for.</p>
  <pre><code>var game = new eventEmitter();
  game.once(['player:quit', 'player:disconnect'], function () {
    endGame()
  });
  </code></pre>
  <p>What is the cleanest way to handle this?</p>
  <p>Note: Need to remove bound functions individually because there will be other listeners bound.</p>