Hello, I am designing an "api" that manages a data model. Some of the methods on the data model will trigger a server service (HTTPService), and will therefore be handled asynchronously (no choice there). Other actions, not going to the server, would be synchronous.
I would like to give the "user" of the api a consistent (asynchronous) view of the "api" but I can not seem to create asynchronous behavior. dispatchEvent seems to always synchronously invoke registered event handlers. Is there a way to have a class method trigger an asynchronous event? Thanks in advance, Peter

