Module Revery_Core.Environment
val isNative : bool
Environment
provides information about the run-time environmenttrue
if native / bytecode build,false
if JSOO build
val sleep : Time.t -> unit
sleep(t)
sleeps the running thread for the specified time period.Example usage:
sleep(Seconds(1.0))
No-op in JSOO builds.
val yield : unit -> unit
val getExecutingDirectory : unit -> string
val getWorkingDirectory : unit -> string
val os : os