package zmq

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

Install

Dune Dependency

Authors

Maintainers

Sources

zmq-5.1.0.tbz
sha256=f1cfefec4dea4bbade8bf4a4042ac3fa1d02e64bcb4fb30da363bba1f54aaddc
sha512=eedfb9b2269c529940cddde5918e0dcc8bba921101c27ee31945d3922d10712a116255248c2e0c569b9c0d3daf27763558afbe87c015b07e68902ce268bef68b

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.