package tcpip

  1. Overview
  2. Docs

Time operations for cooperative threads.

type 'a io = 'a Lwt.t

A potentially blocking I/O operation

val sleep : float -> unit io

sleep nsec Block the current thread for TODO remove float