package async_js

  1. Overview
  2. Docs

Module Async_jsSource

Sourcemodule Rpc : sig ... end
Sourcemodule Http : sig ... end
Sourcemodule Debug : sig ... end
Sourcemodule Persistent_connection : sig ... end
Sourceval sleep : float -> unit Async_kernel.Deferred.t

sleep d is a deferred which becomes determined in d seconds.

Sourceval yield : unit -> unit Async_kernel.Deferred.t

yield () returns a deferred that becomes determined after the current cycle completes.

Sourceval init : unit -> unit

Initialize the async scheduler

Sourceval initialized : unit -> bool
Sourceval log_s : Core.Sexp.t -> unit
Sourceval log_s_as_string : Core.Sexp.t -> unit
OCaml

Innovation. Community. Security.