Module Zmq.PollSource

Sourcetype t
Sourcetype poll_event =
  1. | In
  2. | Out
  3. | In_out
Sourcetype 'a poll_mask = 'a Socket.t * poll_event
Sourceval mask_of : 'a poll_mask array -> t
Sourceval poll : ?timeout:int -> t -> poll_event option array