def METHOD_NAME(self, dispatch_fn):
    # dispatch all event from threads
    try:
        while True:
            event_type, touch = self.queue.popleft()
            dispatch_fn(event_type, touch)
    except:
        pass