package zmq

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

Install

Dune Dependency

Authors

Maintainers

Sources

zmq-5.3.0.tbz
sha256=b5eb42995836eff58767e1ccc0a6551c2ac74f358094ac2402334389b075fba8
sha512=712eac902ea9c52ac0b47c80a851ee29ca3ea5a69a16ecac2b1ba5c0ff83082a41524e41fdbdeddc7a1c3037e5a4d1494a17ebf7c0b202603f652edab5a1aee7

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.