def on_ask_event(self, event):
        """
        Event handler for ASK event type
        """
        self.event_dispatcher.dispatch_event( 
            MyEvent ( MyEvent.RESPOND, self ) 
        )

        Event handler for ASK event type
        
recipes/Python/577432_Simple_event_dispatcher/recipe-577432.py