package zmq

  1. Overview
  2. Docs
OCaml bindings for ZeroMQ 4.x

Install

Dune Dependency

Authors

Maintainers

Sources

zmq-5.1.3.tbz
sha256=24b32de3829a103e548f37e00f7e03fca72a00e1b67d6ee6d3d75fbae31b8806
sha512=7b4c1e7bce06d7f340603c7d56ffc1714c5a0601040d72bbe5591e3ae5cf24e7835b5da7bd525c19632db45059544ddcdeecd507298e993b7b761a764c1d8ff7

doc/zmq.deferred/Zmq_deferred/Socket/Make/argument-1-T/Fd/index.html

Module T.Fd

type t
val create : Unix.file_descr -> t
val wait_readable : t -> unit Deferred.t

Wait for the fd to become readable. It is important that all waiters on the socket are woken up, and not just one, as the fd is used as a broadcast mechanism.

The Fd must _NOT_ be closed, as its owned by Zmq.

val release : t -> unit Deferred.t
OCaml

Innovation. Community. Security.