package zmq

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

Install

Dune Dependency

Authors

Maintainers

Sources

5.0.0.tar.gz
sha256=831f7f9c206dc9fdbdf037c70907eeaa2716ac2502cf33fd6212f3e91d1fa924
md5=08c6d97f2e5b67c9a77b9e65e10cb417

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.