def update(self, dispatch_fn):
        try:
            while True:
                frame = _LEAP_QUEUE.popleft()
                events = self.process_frame(frame)
                for ev in events:
                    dispatch_fn(*ev)
        except __HOLE__:
            pass
dataset/ETHPy150Open kivy/kivy/kivy/input/providers/leapfinger.py/LeapFingerEventProvider.update