def alarm(self, secs, callback):
        ioloop  = self._ioloop
        def wrapped():
            try:
                del self._pending_alarms[handle]
            except __HOLE__:
                pass
            self.handle_exit(callback)()
        handle = ioloop.add_timeout(ioloop.time() + secs, wrapped)
        self._pending_alarms[handle] = 1
        return handle
dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/main_loop.py/TornadoEventLoop.alarm