Delegating an event emitter into another event emitter is hard.
A catch-all event handler that worked like this would be of much help:
eventEmitter.on(function(eventType, args) {
console.log('got event type %s and args %j', eventType, args);
});
Do you know if something like this is on the works? If not, is this a
desirable feature?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en