package js_of_ocaml-lwt

  1. Overview
  2. Docs

Module Js_of_ocaml_lwt.Lwt_jsSource

Javascript specific Lwt functions.

Sourceval sleep : float -> unit Lwt.t

sleep d is a threads which remain suspended for d seconds and then terminates.

Sourceval yield : unit -> unit Lwt.t

yield () is a threads which suspends itself and then resumes as soon as possible and terminates.

OCaml

Innovation. Community. Security.