Module Eio_brr.G

The global object, its global objects and functions.

val set_timeout : ms:int -> unit

set_timeout ~ms is a timer waiting for ms milliseconds. It can be cancelled.

val request_animation_frame : unit -> float

request_animation_frame () waits until right before the next repaint. It returns the current point in time. It can be cancelled.