package zmq
OCaml bindings for ZeroMQ 4.x
Install
Dune Dependency
Authors
Maintainers
Sources
zmq-lwt-5.1.4.tbz
sha256=7e39ff4f4930e5c4fcb66235de54a2b8ebdb2d3efbd3f44c6f3b61fd07b8e8ed
sha512=c086989220a831359707e8be04a9fcc5817d3145e5da89bb9210ed3619611ed47b0cedb7d3c2319d6e2fc5ca0f48aa2e46bde72b0bee824594a019c6dcc624c0
doc/src/zmq.deferred/deferred.ml.html
Source file deferred.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
module type T = sig type 'a t module Deferred : sig type nonrec 'a t = 'a t val return: 'a -> 'a t val catch: (unit -> 'a t) -> ('a, exn) result t val don't_wait_for: (unit -> unit t) -> unit val sleepf: float -> unit t val fail: exn -> 'a t module Infix : sig val (>>=) : 'a t -> ('a -> 'b t) -> 'b t (* Determined, whenever either of the deferred becomes determined *) val (<?>): 'a t -> 'a t -> 'a t end end module Condition : sig type 'a t val create: unit -> 'a t val wait: 'a t -> 'a Deferred.t val signal: 'a t -> 'a -> unit end module Mailbox : sig type 'a t val create: unit -> 'a t val send: 'a t -> 'a -> unit val recv: 'a t -> 'a Deferred.t end module Fd : sig type t (* Wrap the given unix file_deser *) val create: Unix.file_descr -> 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 wait_readable: t -> unit Deferred.t val release: t -> unit Deferred.t end end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>