def register_handler(self, event, handler):
        return self.__handler.register_handler(event, handler)
Registers a handler to be triggered by an event
dataset/ETHPy150Open pebble/libpebble2/libpebble2/events/mixin.py/EventSourceMixin.register_handler