Apple Script allows apps to send events to themselves. This is how it supports recording. But sometimes, an Apple Event handler needs to make use of the run-loop, perhaps for a timer, notification, or user interaction.
DirectDispatching will allow you, the developer, to support this behavior.