module Async_js : sig..end
val sleep : float -> unit Async_kernel.Std.Deferred.t
sleep d is a deferred which becomes determined in d seconds.
val yield : unit -> unit Async_kernel.Std.Deferred.t
yield () returns a deferred that becomes determined after the current cycle completes.
val init : unit -> unit
Initialize the async scheduler