package poll

  1. Overview
  2. Docs

Module Poll.TimeoutSource

Sourcetype t =
  1. | Immediate
  2. | Never
  3. | After of int64

Timeout.t represents the maximum interval a poller will wait for a new event.

Sourceval immediate : t
Sourceval never : t
Sourceval after : int64 -> t

Timespan in nanoseconds.

OCaml

Innovation. Community. Security.