For async eventemitter

https://www.npmjs.org/package/*nodeasync *

On Saturday, October 8, 2011 11:19:40 AM UTC+5:30, philipmat wrote:
>
> Sorry if I'm asking a newbie or even stupid question, but I'm trying 
> to wrap my head around async, eventing, and node programming all at 
> the same time. 
>
> EventEmitter is synchronous. Is there any reason not to have an async 
> EvEm? At its simplest (still learning), have the callbacks in 
> emitter.emit called on a process.nextTick. 
>
> Something like this: https://gist.github.com/1271909 
>
> If this is something silly or undesirable, could you help me 
> understand why? If not, is there any reason why this wouldn't be the 
> default MO for EvEm? 
> TBH, I expected - don't know why, that all event handling would be 
> asynchronous. 
>
> Thanks in advance. 
>
> BTW, I'm aware of Caolan's async package, I am just trying to learn 
> the ropes.

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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to