Corona sdk events dispatched with dispatchEvent() are handled directly upon call. Why so?
- by Amoxus
I noticed to my surprise that an event created with dispatchEvent(event) gets handled directly when called, and not together with other events at a specific phase of the frame loop.
Two main reasons of having an event system are:
so that you can call code B from code A, but still want to prioritize code A.
to make sure there are no freaky…