def start(self, callback, timeout, repeat):
        """
        :type callback: Callable(timer_handle: Timer)
        :param float timeout: initial timeout (seconds) before first alarm
        :param float repeat: repeat interval (seconds); 0 to disable
        """
        timeout = int(timeout * 1000)
        repeat = int(repeat * 1000)

        def cb_wrapper(timer_h):
            callback(self)

        self._ffi_cb = ffi.callback('void (*)(uv_timer_t *)', cb_wrapper)
        libuv.uv_timer_start(self.handle, self._ffi_cb, timeout, repeat)
dataset/ETHPy150Open veegee/guv/pyuv_cffi/__init__.py/Timer.start/original