luvit/luvit — pull request #462 by songgao (2014-05-24 02:44:36+00:00)
Title: add listenerCount to Emitter

The `:listenerCount` method is needed in the stream interface. `node.js` had it implemented as `EventEmitter.listenerCount(emitter, name)` but it doesn't seem to make a difference in lua.