You can assume that anything not documented as being asynchronous is 
synchronous.

Gordon Smith
Adobe Flex SDK Team

From: [email protected] [mailto:[email protected]] On Behalf 
Of itaid1
Sent: Friday, May 14, 2010 9:35 AM
To: [email protected]
Subject: [flexcoders] Re: Flex Events




--- In [email protected]<mailto:flexcoders%40yahoogroups.com>, Oleg 
Sivokon <olegsivo...@...> wrote:
>
> dispatchEvent is a regular method and it id executed synchronously. If you
> call it twice, then the same group of listeners will be called twice in the
> same call stack. If you want to manage the order in which handlers are
> called you can specify priority when adding them, however, if you must add
> many handlers (many would be hundreds) I would rethink using priority as the
> handlers are sorted when added and the more handlers there are with the
> certain priority specified, the slower the adding will be.
>
Thanks! Did you figure it's synchronous aspect through testing or is this 
documented somewhere?

Reply via email to