package luv

  1. Overview
  2. Docs
Binding to libuv: cross-platform asynchronous I/O

Install

Dune Dependency

Authors

Maintainers

Sources

luv-0.5.14.tar.gz
sha256=8e01b4a50c8876cdd98d8e245c0687c4dc4d883aed161ad9c5ace1fb1fdaae99

doc/luv/Luv/Poll/Event/index.html

Module Poll.EventSource

Binds uv_poll_event.

Sourcetype t = [
  1. | `READABLE
  2. | `WRITABLE
  3. | `DISCONNECT
  4. | `PRIORITIZED
]

Binds uv_poll_event.

`DISCONNECT is implemented starting with libuv 1.9.0. On earlier versions, trying to register for `DISCONNECT events does nothing, and, correspondingly, user code cannot receive a `DISCONNECT event. The OCaml code will still compile.

Similarly, `PRIORITIZED requires libuv 1.14.0.

Feature checks:

  • Luv.Require.(has disconnect)
  • Luv.Require.(has prioritized)
OCaml

Innovation. Community. Security.