package mirage-types

  1. Overview
  2. Docs

Time operations for cooperative threads

type +'a io

The type for potentially blocking I/O operation

val sleep : float -> unit io

sleep nsec Block the current thread for. FIXME: remove float.

OCaml

Innovation. Community. Security.