Created a new module for event scoping:
https://npmjs.org/package/boxed-emitter#readme

Because events are scoped to the emitting object...except when they are not 
(for instance, on remote events coming through a remote stream, it's useful 
to have them name-spaced).
With this you can create a box on top of an event emitter (call it rooms 
or channels if you will) and emit scoped to that box name.
You can have multiple nested boxes.
A box supports the event emitter API plus wildcard events(opt-in).

Cheers,

-Pedro

-- 
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

Reply via email to