On Saturday, October 5, 2013 3:48:42 PM UTC-4, David Herron wrote: > > EventEmitter.emit doesn't support a callback that's triggered when all > event handler invocations have finished. >
emit() is synchronous and calls all current listeners for the particular event, one after the other. So after emit(), all listeners for that event have finished, unless of course by "finished" you mean including any asynchronous things the event listeners may have started. If the latter is the case, that's much more difficult to tell. -- -- 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/groups/opt_out.
