Sha256: 7ea79871fdb60e8cc9aac7df3f3c179f3e8f249cc67f690afae1291e6fe29738

Contents?: true

Size: 886 Bytes

Versions: 37

Compression:

Stored size: 886 Bytes

Contents

.. _check:

:c:type:`uv_check_t` --- Check handle
=====================================

Check handles will run the given callback once per loop iteration, right
after polling for i/o.


Data types
----------

.. c:type:: uv_check_t

    Check handle type.

.. c:type:: void (*uv_check_cb)(uv_check_t* handle)

    Type definition for callback passed to :c:func:`uv_check_start`.


Public members
^^^^^^^^^^^^^^

N/A

.. seealso:: The :c:type:`uv_handle_t` members also apply.


API
---

.. c:function:: int uv_check_init(uv_loop_t* loop, uv_check_t* check)

    Initialize the handle.

.. c:function:: int uv_check_start(uv_check_t* check, uv_check_cb cb)

    Start the handle with the given callback.

.. c:function:: int uv_check_stop(uv_check_t* check)

    Stop the handle, the callback will no longer be called.

.. seealso:: The :c:type:`uv_handle_t` API functions also apply.

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/libuv/docs/src/check.rst
mt-libuv-4.1.03 ext/libuv/docs/src/check.rst
mt-libuv-4.1.02 ext/libuv/docs/src/check.rst
libuv-4.0.9 ext/libuv/docs/src/check.rst
libuv-4.0.2 ext/libuv/docs/src/check.rst
libuv-4.0.1 ext/libuv/docs/src/check.rst
libuv-2.0.12 ext/libuv/docs/src/check.rst
libuv-2.0.11 ext/libuv/docs/src/check.rst
libuv-4.0.0 ext/libuv/docs/src/check.rst
libuv-3.3.0 ext/libuv/docs/src/check.rst
libuv-3.2.4 ext/libuv/docs/src/check.rst
libuv-3.2.3 ext/libuv/docs/src/check.rst
libuv-3.2.2 ext/libuv/docs/src/check.rst
libuv-3.2.1 ext/libuv/docs/src/check.rst
libuv-3.2.0 ext/libuv/docs/src/check.rst
libuv-3.1.9 ext/libuv/docs/src/check.rst
libuv-3.1.8 ext/libuv/docs/src/check.rst
libuv-3.1.7 ext/libuv/docs/src/check.rst
libuv-3.1.6 ext/libuv/docs/src/check.rst
libuv-3.1.5 ext/libuv/docs/src/check.rst