val add : int -> ( unit -> unit ) -> t
add delay action will execute action () after the delay of delay ms.
add delay action
the Timeout element.
Warning: don't expect the delay to be exact at the ms. The precision cannot be better than what the framerate imposes, i.e. usually about 16ms.
val cancel : t -> unit
Cancel the Timeout.