

def start(self, events, callback):
    'Start the poll listener\n\n        :param events: UV_READABLE | UV_WRITEABLE\n        :param callback: Callable(poll_handle: Poll, status: int, events: int)\n        '

    def cb_wrapper(uv_poll_t, status, events):
        callback(self, status, events)
    self._ffi_cb = ffi.callback('void (*)(uv_poll_t *, int, int)', cb_wrapper)
    libuv.uv_poll_start(self.handle, events, self._ffi_cb)

dataset/ETHPy150Open veegee/guv/pyuv_cffi/__init__.py Poll.start/original