package async_js

  1. Overview
  2. Docs
A small library that provide Async support for JavaScript platforms

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=6c8898b69bd5fc0c36d0bbcf5a1a5a2cb0b5deb88504cdaeb532c50b50ac1703

doc/async_js/Async_js/index.html

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