package tezos-stdlib-unix

  1. Overview
  2. Docs
val sleep : Ptime.Span.t -> unit Lwt.t

sleep t is an Lwt promise that resolves after t time has elapsed. If t is negative, sleep t is already resolved.

OCaml

Innovation. Community. Security.